The problem
Every API key with vault access can read and write all vaults in your organization. When different teams, clients, or integrations share an account, that’s too broad.The solution
Vault groups let you:- Organize — group vaults by client, matter type, or team
- Restrict — scope API keys so they only see vaults in specific groups
- Audit — every group create, update, and delete is logged
Create a group
Endpoint
Response
| Field | Type | Description |
|---|---|---|
name | string | Required. Display name for the group |
description | string | Optional description |
The
slug is auto-generated from the name and must be unique across your organization—including soft-deleted groups.List groups
Endpoint
Response
If your API key is scoped to specific groups, this endpoint returns only those groups.
Update a group
Rename a group or change its description.Endpoint
| Field | Type | Description |
|---|---|---|
name | string | New display name (slug is regenerated) |
description | string | null | New description, or null to clear |
Delete a group
Soft-deletes a group. The group must have no vaults assigned.Endpoint
Assign vaults to groups
When creating a vault
PassgroupId to place a new vault into a group:
Endpoint
Move an existing vault
UsePATCH /vault/:id to move a vault into (or between) groups:
Scoped API keys
API keys can be restricted to specific vault groups. A scoped key can only:- List and access vaults within its allowed groups
- Create new vaults in those groups (must provide
groupId) - See only the groups it has access to
| Operation | Scoped key | Unscoped key |
|---|---|---|
| List groups | Only allowed groups | All groups |
| List vaults | Only vaults in allowed groups | All vaults |
| Get vault by ID | Allowed groups only (404 otherwise) | All vaults |
Create vault without groupId | Denied (403) | Allowed |
| Create vault in allowed group | Allowed | Allowed |
| Create vault in other group | Denied (403) | Allowed |
| Remove vault from group | Denied (403) | Allowed |
| Manage groups (create/update/delete) | Denied (403) | Allowed |
Create scoped API keys in the Console under API Keys. Select the Vault service, then check the groups you want the key to access. Leaving all groups unchecked gives full vault access.
Audit events
Every group lifecycle action emits an audit event:| Event | When |
|---|---|
vault.group.created | Group created |
vault.group.updated | Group renamed or description changed |
vault.group.deleted | Group soft-deleted |