Vaults
List Vaults
Section titled “List Vaults”passbox vault listShows all vaults you have access to, with your role in each.
Create a Vault
Section titled “Create a Vault”passbox vault create <name>Creates a new vault with the given name. A default development environment is created automatically.
Example
Section titled “Example”passbox vault create my-app# ✓ Vault "my-app" createdDelete a Vault
Section titled “Delete a Vault”passbox vault delete <name>Permanently deletes a vault and all its secrets, environments, and members. Requires owner role.
Example
Section titled “Example”passbox vault delete old-project# Are you sure? (y/N): y# ✓ Vault "old-project" deletedInitialize Project
Section titled “Initialize Project”passbox initCreates a .passbox.json file in the current directory, linking the project to a vault. You’ll be prompted to select a vault from your list.
Example .passbox.json
Section titled “Example .passbox.json”{ "vault": "my-app", "environment": "development"}Once initialized, you can omit the --vault flag from other commands:
# Before initpassbox get API_KEY --vault my-app
# After initpassbox get API_KEYVault Roles
Section titled “Vault Roles”| Role | Read | Write | Delete | Manage Members | Delete Vault |
|---|---|---|---|---|---|
viewer | Yes | No | No | No | No |
member | Yes | Yes | No | No | No |
admin | Yes | Yes | Yes | Yes | No |
owner | Yes | Yes | Yes | Yes | Yes |