op

Official 1Password CLI

Subcommands

NameDescription
accountManage your locally configured 1Password accounts
connectManage Connect instances and Connect tokens in your 1Password account
documentPerform CRUD operations on Document items in your vaults
events-apiManage Events API integrations in your 1Password account
groupPerform CRUD operations on the groups of users in your 1Password account
itemPerform CRUD operations on the 1Password items in your vaults
userManage users within this 1Password account
vaultManage permissions and perform CRUD operations on your 1Password vaults
completionGenerate shell completion information
injectInject secrets into a config file
readRead a secret using the secrets reference syntax
runPass secrets as environment variables to a process
signinSign in to a 1Password account
signoutSign out of a 1Password account
updateCheck for and download updates
whoamiGet information about a signed-in account

Options

NameDescription
--account <account>
  • Persistent ⚖
--cache
  • Persistent ⚖
--config <directory>
  • Persistent ⚖
--debug
  • Persistent ⚖
--encoding <type>
  • Persistent ⚖
--format <string>
  • Persistent ⚖
-h, --help
  • Persistent ⚖
--iso-timestamps
  • Persistent ⚖
--no-color
  • Persistent ⚖
--session <token>
  • Persistent ⚖
-v, --versionVersion for op