For AI agents: a documentation index is available at /llms.txt
Skip to main content

saveSecret

Creates a Login item in a vault visible to the session's 1Password integration. Returns only an op:// reference; the password is never echoed.

saveSecret(
vault: String!
title: String!
username: String!
password: String!
website: String
): SaveSecretResponse

Arguments

saveSecret.vault ● String! non-null scalar

Exact title of the destination vault.

saveSecret.title ● String! non-null scalar

Title for the new Login item.

saveSecret.username ● String! non-null scalar

Username stored in the Login item.

saveSecret.password ● String! non-null scalar

Password stored as a concealed field.

saveSecret.website ● String scalar

Optional website metadata stored with the Login item.

Type

SaveSecretResponse object

Response returned after attempting to create a Login item in a 1Password integration. The supplied password is never included in the response.

Was this page helpful?