AACFlow

1Password

Manage secrets and items in 1Password vaults

Usage Instructions

Access and manage secrets stored in 1Password vaults using the Connect API or Service Account SDK. List vaults, retrieve items with their fields and secrets, create new items, update existing ones, delete items, and resolve secret references.

Tools

onepassword_list_vaults

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNoNo description
apiKeystringNoNo description
serverUrlstringNoNo description
filterstringNoSCIM filter expression (e.g., name eq "My Vault")

Output

ParameterTypeDescription
vaultsarrayList of accessible vaults
idstringVault ID
namestringVault name
descriptionstringVault description
attributeVersionnumberVault attribute version
contentVersionnumberVault content version
typestringVault type (USER_CREATED, PERSONAL, EVERYONE, TRANSFER)
createdAtstringCreation timestamp
updatedAtstringLast update timestamp

onepassword_get_vault

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNoNo description
apiKeystringNoNo description
serverUrlstringNoNo description
vaultIdstringYesNo description

Output

ParameterTypeDescription
idstringVault ID
namestringVault name
descriptionstringVault description
attributeVersionnumberVault attribute version
contentVersionnumberVault content version
itemsnumberNumber of items in the vault
typestringVault type (USER_CREATED, PERSONAL, EVERYONE, TRANSFER)
createdAtstringCreation timestamp
updatedAtstringLast update timestamp

onepassword_list_items

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNoNo description
apiKeystringNoNo description
serverUrlstringNoNo description
vaultIdstringYesNo description
filterstringNoSCIM filter expression (e.g., title eq "API Key" or tag eq "production")

Output

ParameterTypeDescription
itemsarrayList of items in the vault (summaries without field values)
idstringItem ID
titlestringItem title
vaultobjectVault reference
idstringVault ID
categorystringItem category (e.g., LOGIN, API_CREDENTIAL)
urlsarrayURLs associated with the item
hrefstringURL
labelstringURL label
primarybooleanWhether this is the primary URL
favoritebooleanWhether the item is favorited
tagsarrayItem tags
versionnumberItem version number
statestringItem state (ARCHIVED or DELETED)
createdAtstringCreation timestamp
updatedAtstringLast update timestamp
lastEditedBystringID of the last editor

onepassword_get_item

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNoNo description
apiKeystringNoNo description
serverUrlstringNoNo description
vaultIdstringYesNo description
itemIdstringYesNo description

Output

ParameterTypeDescription
responsejsonOperation response data

onepassword_create_item

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNoNo description
apiKeystringNoNo description
serverUrlstringNoNo description
vaultIdstringYesNo description
categorystringYesItem category (e.g., LOGIN, PASSWORD, API_CREDENTIAL, SECURE_NOTE, SERVER, DATABASE)
titlestringNoNo description
tagsstringNoNo description
fieldsstringNoJSON array of field objects (e.g., [{"label":"username","value":"admin","type":"STRING","purpose":"USERNAME"}])

Output

ParameterTypeDescription
responsejsonOperation response data

onepassword_replace_item

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNoNo description
apiKeystringNoNo description
serverUrlstringNoNo description
vaultIdstringYesNo description
itemIdstringYesNo description
itemstringYesJSON object representing the full item (e.g., {"vault":{"id":"..."},"category":"LOGIN","title":"My Item","fields":[...]})

Output

ParameterTypeDescription
responsejsonOperation response data

onepassword_update_item

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNoNo description
apiKeystringNoNo description
serverUrlstringNoNo description
vaultIdstringYesNo description
itemIdstringYesNo description
operationsstringYesJSON array of RFC6902 patch operations (e.g., [{"op":"replace","path":"/title","value":"New Title"}])

Output

ParameterTypeDescription
responsejsonOperation response data

onepassword_delete_item

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNoNo description
apiKeystringNoNo description
serverUrlstringNoNo description
vaultIdstringYesNo description
itemIdstringYesNo description

Output

ParameterTypeDescription
successbooleanWhether the item was successfully deleted

onepassword_resolve_secret

Resolve a secret reference (op://vault/item/field) to its value. Service Account mode only.

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: must be "service_account" for this operation
serviceAccountTokenstringYesNo description
secretReferencestringYesSecret reference URI (e.g., op://vault-name/item-name/field-name or op://vault-name/item-name/section-name/field-name)

Output

ParameterTypeDescription
valuestringThe resolved secret value
referencestringThe original secret reference URI

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started