Skip to main content
Vaults hold the credentials your agents use. No command in this group ever prints a credential’s secret value. Human output uses friendly scope labels — Org-wide and Selected workspaces. --json emits the raw enum values all_workspaces and selected_workspaces, which are the wire contract.

vault list

vault create

vault show

Shows the vault and its credentials — metadata only.

vault delete

Deleting a vault deletes every credential in it. Agents depending on those credentials will stop working.

vault remove-credential

Takes the vault id and the credential id. Removing a credential cascades to its grants.

vault audit

Audit every non-personal credential across the organization, grouped by availability scope.
Org owner or admin only. Personal vaults are excluded — a credential someone stored personally is never visible here.
The --json shape:
Credential objects carry metadata only — there is no token field. A credential restricted to several workspaces appears under each selected_workspaces group. If you pass no --org and have no active workspace, the command tells you to pass --org. If you’re not an org admin, you get a permission error.

vault scope

Set an org-vault credential’s availability scope. Org owner or admin only.
--scope selected with no --workspace fails locally with exit 1 and sends nothing to the server. The --json shape:
workspace_ids is [] when the scope is all_workspaces. Only org-vault credentials are scopeable. Scoping a workspace or personal credential is rejected.

vault grants

Read a credential’s current scope and its selected workspaces.
Returns the same envelope as vault scope.
vault grant and vault revoke have been removed. Use vault scope to change availability.

See also