Managing values
Keys
Keys consist of letters, digits and underscore and do not start with a digit, e.g. DB_PASSWORD. They are exported as environment variables exactly like this. Case matters.
Show and copy values
Values may be arbitrarily long, even multi-line (e.g. a PEM private key). They are masked when shown. Show reveals a value, Copy puts it on the clipboard without showing it.
Files: certificates and keys
+ File stores a file as an entry, such as a certificate, a private key or an API key you could download only once (.p8, .p12, .pem, .cer), at most 1 MB. The file is encrypted like any value. The list shows it with name and size, Download returns it byte for byte and Replace swaps it. In the CLI: secrets-tool set-file and get-file; load and export output files as Base64.
Random values
In the dialog, open Generate random value, choose character set and length. The value comes from your browser's random number generator, uniformly distributed. 32 alphanumeric characters are about 190 bits.
Import from .env
Choose or paste an existing .env. Comments, export and quotes are understood. The preview shows which keys are new and which would be overwritten.
Search and group
From four values on, a search field appears; it finds keys and notes. Group by prefix groups keys by the part before the first underscore.
Notes
Every entry can have a note (from 0.9.1.45): what the value is for, which account it belongs to, where it comes from. It is shown in the list below the key and set in the Edit dialog, at most 1000 characters, multi-line allowed. Notes are not meant to be secret but are stored encrypted in the file just like the values. Deleting an entry removes its note; a new stage with the names also takes over the notes. In the CLI: secrets-tool note KEY and list --notes.
Storing from other services
Other services can store values they create for you directly in your vault instead of you writing them down – first sarebamail for the recovery code of the secure mail, the passphrase and the organisation's recovery key. For this the service opens a Secrets window. There you see who wants to store what (values hidden, can be shown), sign in if needed, unlock the vault and choose the project: a new one with the suggested name or an existing one. If a name already exists there, nothing is replaced silently: the default is a new entry with _2, replacing only if you choose so. Encryption happens in your browser as always. The service only learns whether and under which name the values were stored – never a value, no other projects or entries. Description, account and origin end up as the entry's note. Which services may do this is fixed in Secrets.
Saving and versions
Every change is saved immediately and increments the project version. If two people save at the same time, the first wins; the second is told the page reloaded and repeats the change.