1Password

1Password é um gerenciador de senhas e solução de cofre de segredos amplamente confiável, permitindo que indivíduos e equipes armazenem, acessem e compartilhem senhas, credenciais de API e informações sensíveis com segurança. Com criptografia robusta, controles de acesso granulares e sincronização contínua entre dispositivos, o 1Password apoia equipes e organizações no gerenciamento eficiente e seguro de segredos.

A API 1Password Connect permite acesso programático a cofres e itens dentro da conta 1Password de uma organização. Esta integração no Zoen permite automatizar a recuperação de segredos, workflows de onboarding, rotação de segredos, auditorias de cofre e muito mais, de forma segura e auditável.

Com o 1Password no seu workflow Zoen, você pode:

  • Listar, pesquisar e recuperar cofres: Acesse metadados ou navegue pelos cofres disponíveis para organizar segredos por projeto ou finalidade
  • Buscar itens e segredos: Obtenha credenciais, chaves de API ou segredos personalizados em tempo real para alimentar seus workflows com segurança
  • Criar, atualizar ou excluir segredos: Automatize o gerenciamento, provisionamento e rotação de segredos para práticas de segurança aprimoradas
  • Integrar com CI/CD e automação: Busque credenciais ou tokens apenas quando necessário, reduzindo o trabalho manual e o risco
  • Garantir controles de acesso: Aproveite o acesso baseado em papéis e permissões refinadas para controlar quais agentes ou usuários podem acessar segredos específicos

Ao conectar o Zoen ao 1Password, você capacita seus agentes a gerenciar segredos com segurança, reduzir a sobrecarga manual e manter as melhores práticas de automação de segurança, resposta a incidentes e workflows de DevOps — tudo isso garantindo que os segredos nunca saiam de um ambiente controlado.

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, download attached files, create new items, update existing ones, delete items, and resolve secret references.

Actions

onepassword_list_vaults

List all vaults accessible by the Connect token or Service Account

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNo1Password Service Account token (for Service Account mode)
apiKeystringNo1Password Connect API token (for Connect Server mode)
serverUrlstringNo1Password Connect server URL (for Connect Server mode)
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, or EVERYONE)
createdAtstringCreation timestamp
updatedAtstringLast update timestamp

onepassword_get_vault

Get details of a specific vault by ID

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNo1Password Service Account token (for Service Account mode)
apiKeystringNo1Password Connect API token (for Connect Server mode)
serverUrlstringNo1Password Connect server URL (for Connect Server mode)
vaultIdstringYesThe vault UUID

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, or EVERYONE)
createdAtstringCreation timestamp
updatedAtstringLast update timestamp

onepassword_list_items

List items in a vault. Returns summaries without field values.

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNo1Password Service Account token (for Service Account mode)
apiKeystringNo1Password Connect API token (for Connect Server mode)
serverUrlstringNo1Password Connect server URL (for Connect Server mode)
vaultIdstringYesThe vault UUID to list items from
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 absent/null when active)
createdAtstringCreation timestamp
updatedAtstringLast update timestamp
lastEditedBystringID of the last editor

onepassword_get_item

Get full details of an item including all fields and secrets

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNo1Password Service Account token (for Service Account mode)
apiKeystringNo1Password Connect API token (for Connect Server mode)
serverUrlstringNo1Password Connect server URL (for Connect Server mode)
vaultIdstringYesThe vault UUID
itemIdstringYesThe item UUID to retrieve

Output

ParameterTypeDescription
responsejsonDeprecated — kept for backward compatibility with workflows saved before per-operation outputs were added below. Never populated; use the operation-specific outputs instead.
vaultsjsonList of accessible vaults [{id, name, description, items, type, createdAt, updatedAt}]
idstringVault or item ID
namestringVault name
descriptionstringVault description
itemsjsonNumber of items in the vault (Get Vault) or item summaries [{id, title, category, tags, favorite, version, updatedAt}] (List Items)
typestringVault type (USER_CREATED, PERSONAL, or EVERYONE)
titlestringItem title
categorystringItem category (e.g., LOGIN, API_CREDENTIAL, SECURE_NOTE)
vaultjsonVault reference the item belongs to {id}
fieldsjsonItem fields including secrets [{id, label, type, purpose, value}]
sectionsjsonItem sections [{id, label}]
filesjsonFiles attached to the item [{id, name, size, section}] — fetch content with Get Item File
tagsjsonItem tags
urlsjsonURLs associated with the item [{href, label, primary}]
favoritebooleanWhether the item is favorited
versionnumberItem version number
statestringItem state (ARCHIVED, or absent/null when active)
lastEditedBystringID of the last editor
createdAtstringCreation timestamp
updatedAtstringLast update timestamp
successbooleanWhether the item was successfully deleted
valuestringThe resolved secret value
referencestringThe original secret reference URI
filefileDownloaded file attachment

onepassword_get_item_file

Download the content of a file attached to an item

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNo1Password Service Account token (for Service Account mode)
apiKeystringNo1Password Connect API token (for Connect Server mode)
serverUrlstringNo1Password Connect server URL (for Connect Server mode)
vaultIdstringYesThe vault UUID
itemIdstringYesThe item UUID the file is attached to
fileIdstringYesThe file ID (from the item's "files" array, e.g. via Get Item)

Output

ParameterTypeDescription
filefileDownloaded file attachment

onepassword_create_item

Create a new item in a vault

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNo1Password Service Account token (for Service Account mode)
apiKeystringNo1Password Connect API token (for Connect Server mode)
serverUrlstringNo1Password Connect server URL (for Connect Server mode)
vaultIdstringYesThe vault UUID to create the item in
categorystringYesItem category (e.g., LOGIN, PASSWORD, API_CREDENTIAL, SECURE_NOTE, SERVER, DATABASE)
titlestringNoItem title
tagsstringNoComma-separated list of tags
fieldsstringNoJSON array of field objects (e.g., [{"label":"username","value":"admin","type":"STRING","purpose":"USERNAME"}]). "purpose" is honored in Connect Server mode; in Service Account mode 1Password infers it from the field label/type instead.

Output

ParameterTypeDescription
responsejsonDeprecated — kept for backward compatibility with workflows saved before per-operation outputs were added below. Never populated; use the operation-specific outputs instead.
vaultsjsonList of accessible vaults [{id, name, description, items, type, createdAt, updatedAt}]
idstringVault or item ID
namestringVault name
descriptionstringVault description
itemsjsonNumber of items in the vault (Get Vault) or item summaries [{id, title, category, tags, favorite, version, updatedAt}] (List Items)
typestringVault type (USER_CREATED, PERSONAL, or EVERYONE)
titlestringItem title
categorystringItem category (e.g., LOGIN, API_CREDENTIAL, SECURE_NOTE)
vaultjsonVault reference the item belongs to {id}
fieldsjsonItem fields including secrets [{id, label, type, purpose, value}]
sectionsjsonItem sections [{id, label}]
filesjsonFiles attached to the item [{id, name, size, section}] — fetch content with Get Item File
tagsjsonItem tags
urlsjsonURLs associated with the item [{href, label, primary}]
favoritebooleanWhether the item is favorited
versionnumberItem version number
statestringItem state (ARCHIVED, or absent/null when active)
lastEditedBystringID of the last editor
createdAtstringCreation timestamp
updatedAtstringLast update timestamp
successbooleanWhether the item was successfully deleted
valuestringThe resolved secret value
referencestringThe original secret reference URI
filefileDownloaded file attachment

onepassword_replace_item

Replace an entire item with new data (full update)

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNo1Password Service Account token (for Service Account mode)
apiKeystringNo1Password Connect API token (for Connect Server mode)
serverUrlstringNo1Password Connect server URL (for Connect Server mode)
vaultIdstringYesThe vault UUID
itemIdstringYesThe item UUID to replace
itemstringYesJSON object representing the full item (e.g., {"vault":{"id":"..."},"category":"LOGIN","title":"My Item","fields":[...]})

Output

ParameterTypeDescription
responsejsonDeprecated — kept for backward compatibility with workflows saved before per-operation outputs were added below. Never populated; use the operation-specific outputs instead.
vaultsjsonList of accessible vaults [{id, name, description, items, type, createdAt, updatedAt}]
idstringVault or item ID
namestringVault name
descriptionstringVault description
itemsjsonNumber of items in the vault (Get Vault) or item summaries [{id, title, category, tags, favorite, version, updatedAt}] (List Items)
typestringVault type (USER_CREATED, PERSONAL, or EVERYONE)
titlestringItem title
categorystringItem category (e.g., LOGIN, API_CREDENTIAL, SECURE_NOTE)
vaultjsonVault reference the item belongs to {id}
fieldsjsonItem fields including secrets [{id, label, type, purpose, value}]
sectionsjsonItem sections [{id, label}]
filesjsonFiles attached to the item [{id, name, size, section}] — fetch content with Get Item File
tagsjsonItem tags
urlsjsonURLs associated with the item [{href, label, primary}]
favoritebooleanWhether the item is favorited
versionnumberItem version number
statestringItem state (ARCHIVED, or absent/null when active)
lastEditedBystringID of the last editor
createdAtstringCreation timestamp
updatedAtstringLast update timestamp
successbooleanWhether the item was successfully deleted
valuestringThe resolved secret value
referencestringThe original secret reference URI
filefileDownloaded file attachment

onepassword_update_item

Update an existing item using JSON Patch operations (RFC6902)

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNo1Password Service Account token (for Service Account mode)
apiKeystringNo1Password Connect API token (for Connect Server mode)
serverUrlstringNo1Password Connect server URL (for Connect Server mode)
vaultIdstringYesThe vault UUID
itemIdstringYesThe item UUID to update
operationsstringYesJSON array of RFC6902 patch operations (e.g., [{"op":"replace","path":"/title","value":"New Title"}])

Output

ParameterTypeDescription
responsejsonDeprecated — kept for backward compatibility with workflows saved before per-operation outputs were added below. Never populated; use the operation-specific outputs instead.
vaultsjsonList of accessible vaults [{id, name, description, items, type, createdAt, updatedAt}]
idstringVault or item ID
namestringVault name
descriptionstringVault description
itemsjsonNumber of items in the vault (Get Vault) or item summaries [{id, title, category, tags, favorite, version, updatedAt}] (List Items)
typestringVault type (USER_CREATED, PERSONAL, or EVERYONE)
titlestringItem title
categorystringItem category (e.g., LOGIN, API_CREDENTIAL, SECURE_NOTE)
vaultjsonVault reference the item belongs to {id}
fieldsjsonItem fields including secrets [{id, label, type, purpose, value}]
sectionsjsonItem sections [{id, label}]
filesjsonFiles attached to the item [{id, name, size, section}] — fetch content with Get Item File
tagsjsonItem tags
urlsjsonURLs associated with the item [{href, label, primary}]
favoritebooleanWhether the item is favorited
versionnumberItem version number
statestringItem state (ARCHIVED, or absent/null when active)
lastEditedBystringID of the last editor
createdAtstringCreation timestamp
updatedAtstringLast update timestamp
successbooleanWhether the item was successfully deleted
valuestringThe resolved secret value
referencestringThe original secret reference URI
filefileDownloaded file attachment

onepassword_delete_item

Delete an item from a vault

Input

ParameterTypeRequiredDescription
connectionModestringNoConnection mode: "service_account" or "connect"
serviceAccountTokenstringNo1Password Service Account token (for Service Account mode)
apiKeystringNo1Password Connect API token (for Connect Server mode)
serverUrlstringNo1Password Connect server URL (for Connect Server mode)
vaultIdstringYesThe vault UUID
itemIdstringYesThe item UUID to delete

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
serviceAccountTokenstringYes1Password Service Account token
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