Subcommands82 subcommands
op account
Manage your locally configured 1Password accounts
op account add
Add an account to sign in to for the first time
op account get
Get details about your account
op account list
List users and accounts set up on this device
op account forget
Remove a 1Password account from this device
op connect
Manage Connect instances and Connect tokens in your 1Password account
op connect group
Manage group access to Secrets Automation
op connect group grant
Grant a group access to manage Secrets Automation
op connect group revoke
Revoke a group's access to manage Secrets Automation
op connect server
Manage Connect servers
op connect server create
Set up a Connect server
op connect server get
Get a Connect server
op connect server edit
Rename a Connect server
op connect server delete
Remove a Connect server
op connect server list
List Connect servers
op connect token
Manage Connect tokens
op connect token create
Issue a token for a 1Password Connect server
op connect token edit
Rename a Connect token
op connect token delete
Revoke a token for a Connect server
op connect token list
Get a list of tokens
op connect vault
Manage connect server vault access
op connect vault grant
Grant a Connect server access to a vault
op connect vault revoke
Revoke a Connect server's access to a vault
op document
Perform CRUD operations on Document items in your vaults
op document create
Create a document item
op document get
Download a document
op document edit
Edit a document item
op document delete
Delete or archive a document item
op document list
Get a list of documents
op events-api
Manage Events API integrations in your 1Password account
op events-api create
Set up an integration with the Events API
op group
Perform CRUD operations on the groups of users in your 1Password account
op group user
Manage users in groups
op group user grant
Grant a user access to a group
op group user revoke
Revoke a user's access to a vault or group
op group user list
Retrieve users that belong to a group
op group create
Create a group
op group get
Get details about a group
op group edit
Edit a group's name or description
op group delete
Remove a group
op item
Perform CRUD operations on the 1Password items in your vaults
op item template
Manage templates
op item template get
Get an item template
op item template list
Get a list of templates
op item create
Create an item
op item get
Get an item's details
op item edit
Edit an item's details
op item delete
Delete or archive an item
op item share
Share an item
op user
Manage users within this 1Password account
op user provision
Provision a user in the authenticated account
op user confirm
Confirm a user
op user get
Get details about a user
op user edit
Edit a user's name or Travel Mode status
op user suspend
Suspend a user
op user reactivate
Reactivate a suspended user
op user delete
Remove a user and all their data from the account
op vault
Manage permissions and perform CRUD operations on your 1Password vaults
op vault group
Manage group vault access
op vault group grant
Grant a group permissions to a vault
op vault group revoke
Revoke a portion or the entire access of a group to a vault
op vault group list
List all the groups that have access to the given vault
op vault user
Manage user vault access
op vault user grant
Grant a user access to a vault
op vault user revoke
Revoke a portion or the entire access of a user to a vault
op vault user list
List all users with access to the vault and their permissions
op vault create
Create a new vault
op vault get
Get details about a vault
op vault edit
Edit a vault's name, description, icon or Travel Mode status
op vault delete
Remove a vault
op vault list
List all vaults in the account
op completion
Generate shell completion information
op inject
Inject secrets into a config file
op read
Read a secret using the secrets reference syntax
op run
Pass secrets as environment variables to a process
op signin
Sign in to a 1Password account
op signout
Sign out of a 1Password account
op update
Check for and download updates
op whoami
Get information about a signed-in account
OptionsOn op itself
--account
Select the account to execute the command by account shorthand, sign-in address, account ID, or user ID. For a list of available accounts, run 'op account list'. Can be set as the OP_ACCOUNT environment variable <account>
--cache
Store and use cached information
--config
Use this configuration directory <directory>
--debug
Output debug logs. Can also be set using $OP_DEBUG environment variable
--encoding
Use this character encoding type. Default: UTF-8. Supported: SHIFT_JIS, gbk <type>
--format
Use this output format. Can be 'human-readable' or 'json'. Can be set as the OP_FORMAT environment variable. (default "human-readable") <string>
--iso-timestamps
Format timestamps according to ISO 8601 / RFC 3339. Can be set as the OP_ISO_TIMESTAMPS environment variable
--no-color
Print output without color
--session
Authenticate with this session token. 1Password CLI outputs session tokens for successful 'op signin' commands when biometric unlock is disabled <token>
-v--version
Version for op