Secrets

Access and roles

Roles

Access has two parts that the web app handles together: the account in the same team or tenant may see the project, and the key in the file can decrypt the values. If either is missing, the Access tab says so.

Role in projectMay
OwnerEverything. Values, access, rename, delete. Exactly one per project.
AdminRead and change values, add and remove members, rename.
MemberRead and change values.
Read onlyView and copy values and logins, change nothing, no sharing (from 0.9.1.50). The server accepts no file from this role.
Team or tenant adminOwner and admin of the team or tenant: manage access of all projects, even without membership. Read values only with an enrolled key.

Adding colleagues

Enter the email (the suggestion list shows accounts of the team or tenant that have signed in before), choose a role, Add. If the person has set up their vault, their key is enrolled in the file immediately. Otherwise the list shows no vault, and you enroll the key with Enroll now once it exists.

External keys

For servers, CI pipelines or colleagues who only use the CLI: under Access, enroll the 64-character public key printed by secrets-tool pubkey. If a key in the file belongs to an account, the list shows its email: not a member means the account is in the same team or tenant but does not see the project (Add as member changes that, the file stays the same); other tenant means the account belongs elsewhere and can only decrypt. Only keys without an account are listed as external.

Revoking access

Remove takes account and key out of the project. The file is re-encrypted with a new data key. What the person has seen before, they still know: rotate affected passwords when someone leaves. Whoever is removed from a team loses access to its projects immediately; whoever leaves a tenant in sareba, at their next sign-in.