Skip to content

Vaults

Terminal window
passbox vault list

Shows all vaults you have access to, with your role in each.

Terminal window
passbox vault create <name>

Creates a new vault with the given name. A default development environment is created automatically.

Terminal window
passbox vault create my-app
# ✓ Vault "my-app" created
Terminal window
passbox vault delete <name>

Permanently deletes a vault and all its secrets, environments, and members. Requires owner role.

Terminal window
passbox vault delete old-project
# Are you sure? (y/N): y
# ✓ Vault "old-project" deleted
Terminal window
passbox init

Creates 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.

{
"vault": "my-app",
"environment": "development"
}

Once initialized, you can omit the --vault flag from other commands:

Terminal window
# Before init
passbox get API_KEY --vault my-app
# After init
passbox get API_KEY
RoleReadWriteDeleteManage MembersDelete Vault
viewerYesNoNoNoNo
memberYesYesNoNoNo
adminYesYesYesYesNo
ownerYesYesYesYesYes