Secrets

Ready in 5 minutes

The five steps

1
Create an account or sign in. Under Create account with email and sign-in password; you get your own team. If you were invited, open the link from the invitation. An already connected sareba account signs in the first time with its previous sareba password; Secrets takes it over as the sign-in password. Then set up two-factor sign-in, with a passkey or an authenticator app, whichever you prefer; you have 7 days for that (see Account).
2
Set up your vault. The first time you choose a vault password. It encrypts your private key in the browser and is deliberately not your sign-in password: nobody but you ever knows the key in plaintext.
3
Create a project (as owner or admin of the team or tenant) and add values, e.g. DB_PASSWORD. Every value is encrypted in your browser before it is saved.
4
Grant colleagues access. Tab Access, enter the email of a colleague in your team or tenant (invite them to your own team under Team first). They must have signed in once and set up their vault.
5
Use in deployments. With the command-line tool secrets-tool the server fetches the file itself (remote pull) and decrypts it at runtime. If the server only runs Docker, secrets-tool hostenv writes the env files from your PC without any value showing in the console (see Use in deployments). secrets-tool check tells you whether everything is right in the repository (see Checking a repository).

Where to find what

Signed in, the toolbar is on the left: Projects, My access, Documentation, Download, Updates and – for admins – Admin; with own teams also Team. When a project is open, its sections (Secrets, Access, Export / CLI, History, Settings) are indented below it, in the admin area its tabs. On narrow screens the same entries are tabs at the top, on phones the most important ones sit in a bar at the bottom. The round button at the bottom right is Quick access: in a project add value, add colleague and use in the CLI, plus new project, download CLI and documentation.

From day one: back up your identity.key under My access in a password manager. Without it and without your vault password nobody can access your values, not even the operator.