Teams are a OneCLI Cloud feature. Self-hosted OneCLI is for one person.
Share a vault
Each person on a vault has a vault role:- Member: uses the vault.
- Owner: uses the vault and changes who it is shared with.
- Dashboard
- API
1
Open the vault
Open the vault and go to its People tab.
2
Manage access
Click Manage access. In the Share vault dialog, tick the people and groups, and set each person to Member or Owner.
3
Save
Click Save. The whole list is saved at once.
Groups
A group is a set of members. Share a vault with a group and everyone in it can use the vault. Groups need the Enterprise plan. There are two kinds:- Manual: you make it and add or remove its members in OneCLI.
- Directory: your identity provider fills it through directory sync. Change its members in your directory. A directory group can also give its members a role, Admin or Member.
See Groups.
Shared items
A shared item belongs to the organization, not to one vault. Use it when many vaults need the same key. An admin shares it with chosen vaults, or opens it to All vaults, including vaults made later. Each vault sets its own permissions for a shared item. A new value for a shared key reaches every vault it is shared with on its next request.1
Add the item
Go to Settings > Shared items and click Add a shared item. A new shared item is shared with no vault, so no agent can use it yet.
2
Share it
On the item’s page, add vaults one by one, or open it to All vaults.
3
Set permissions per vault
In each vault, set Always allow, Needs approval or Never for the item.
Managing shared items takes an admin or the owner, signed in, not an API key. Deleting a shared item removes it from every vault at once. See Shared items.
Next steps
- Members and roles: invite the people you share with
- Agent access: set what agents may do with each item
- Vault sharing API