Subcommands
- vault create: Create a new vault
- vault delete: Remove a vault
- vault edit: Edit a vault’s name, description, icon, or Travel Mode status
- vault get: Get details about a vault
- vault group: Manage group vault access
- vault list: List all vaults in the account
- vault user: Manage user vault access
vault create
Create a new vaultFlags
vault delete
Remove a vault. Specify the vault to delete by name or ID.vault edit
Edit a vault’s name, description, icon, or Travel Mode status. Specify the vault by name or ID.Flags
vault get
Get details about a vault. Specify the vault by name or ID.Use standard input to specify objects
If you enter a hyphen (-) instead of a single object for this command,
the tool will read object specifiers from standard input (stdin).
Separate each specifier with a new line. For more information about how
to specify objects, run op help.
You can also pass the command a list or array of JSON objects. The tool
will get an item for any object that has an ID, ignoring line
breaks. This is useful for passing information from one op command
to another.
Examples
Get details for all vaults:vault group
Subcommands
- vault group grant: Grant a group permissions to a vault
- vault group list: List all the groups that have access to the given vault
- vault group revoke: Revoke a portion or the entire access of a group to a vault
vault group grant
Grant a group permissions in a vault.Flags
Examples
Grant a group certain permissions in a vault with a business account:vault group list
List all the groups that have access to the given vault.vault group revoke
Revoke a group’s permissions in a vault, in part or in full.Flags
Examples
Remove a group from a vault:vault list
List vaults.Flags
Examples
Get details for all vaults:vault user
Subcommands
- vault user grant: Grant a user access to a vault
- vault user list: List all users with access to the vault and their permissions
- vault user revoke: Revoke a portion or the entire access of a user to a vault