Vaults
A vault is the container your secrets live in — typically one per project, service or team. Every command that takes --project wants a vault id.
list
List every active vault in your organization.
oneguard vault list
Your vaults:
ID: 429110bc | Name: My API
ID: aabbccdd | Name: Marketing site
Ids are truncated to eight characters for readability, and that prefix is accepted anywhere an id is.
add
oneguard vault add --name "Vault name"
| Option | | |
| --- | --- | --- |
| -n, --name | required | The name of the new vault |
Returns the new vault's full id.
edit
oneguard vault edit --id <vault> --name "New name"
| Option | | |
| --- | --- | --- |
| --id | required | Vault id, or its 8-character prefix |
| -n, --name | required | The new name |
Only the display name changes. Ids, secrets and directory links are untouched, so nothing your team has already linked breaks.