Skip to main content
Read the value of the field in 1Password specified by a secret reference. Learn more about secret references and query parameters.

Flags

Examples

Print the secret saved in the field password, on the item db, in the vault app-prod:
Use a secret reference with a query parameter to retrieve a one-time password:
Use a secret reference with a query parameter to get an SSH key’s private key in the OpenSSH format:
Save the SSH key key.pem found in the section ssh on the item server in the vault app-prod as a new file on your computer:
Save the file attachment config.yml on the item server in the vault app-prod as a new file on your computer:
Use op read in a command with secret references in place of plaintext secrets: