--json emits the raw enum values all_workspaces and selected_workspaces, which are the wire contract.
vault list
vault create
vault show
vault delete
vault remove-credential
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:
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.
vault scope.
vault grant and vault revoke have been removed. Use vault scope to change availability.See also
- Credentials and vaults — the model.
- Audit and scope org credentials — walkthrough.