Secrets

Account, vault, team

Signing in

Email and password of your account: for a Secrets account the sign-in password, for a sareba account the sareba password. Then the second factor: for a Secrets account the code from your authenticator app or your passkey (see below), for a sareba account with two-factor authentication enabled the code from the app or a backup code. With a passkey a Secrets account can also sign in without a password: enter your email, Sign in with a passkey. After 10 failed attempts sign-in is blocked for 15 minutes.

Creating an account

Under Create account on the sign-in page: email, sign-in password (at least 10 characters) and optionally a team name. With email delivery configured, you first confirm your address: open the link in the email (valid for 48 hours) and enter your sign-in password, then you are signed in. If no email arrived, the sign-in page requests a new one; an account that is never confirmed is deleted after 48 hours. Whether anyone can sign up or only with an invitation is set by the operator. With the sareba connection switched on, you create new accounts at sareba.

Creating an account requires ticking I accept the Terms of Use and have read the Privacy Policy – also with an invitation to a team. Secrets stores the time and the version of the terms of use. The imprint, privacy policy and terms of use are always linked in the footer, at /impressum, /datenschutz and /nutzungsbedingungen (also /imprint, /privacy, /terms).

Changing or forgetting the sign-in password

Change it under My access → Sign-in password; your other sessions end. Forgotten: Forgot password? on the sign-in page sends a link (valid for one hour); without email delivery an admin gives you the link. Afterwards you are signed out everywhere, API tokens and device unlocks are revoked too – connect your devices again. sareba accounts reset their password in sareba while the connection is on. Neither affects the vault password.

With two-factor sign-in the link alone is not enough: to reset, you also confirm with your passkey or enter a code from the app or a recovery code. A code by email does not count here – it would arrive in the same mailbox as the link. If passkey, app and codes are gone, an admin first resets your two-factor sign-in.

Two-factor sign-in

Secrets accounts sign in with password and a second factor. You choose which: a passkey (see below) or a code from an authenticator app (e.g. Google Authenticator, Microsoft Authenticator, 1Password, Bitwarden) – both are equivalent and also work together. A stolen password alone is then not enough. sareba accounts set up two-factor sign-in in sareba; the following does not apply to them while the connection is on.

  • Required, with a grace period. A new account has 7 days; until then a notice at the top of the page reminds you. After that, sign-in requires the setup before you can continue – there you choose Passkey or Authenticator app. Accounts that existed before version 0.9.1.29 set it up at their next sign-in.
  • Set up under My access → Two-factor sign-in → Set up a passkey or Set up an authenticator app. With the app: scan the QR code (or enter the key by hand) and confirm the code shown. The QR code is valid for 15 minutes; shortly before, it disappears from the page. If you already scanned it, delete the “Secrets” entry in the app again and start over – otherwise the app shows codes that never work. With the first factor – passkey or app – Secrets shows 10 recovery codes, only this once. Store them in your password manager or print them.
  • Sign in: after the password, with your passkey or the 6-digit code from the app. Each code works only once. Without your device, use a recovery code; each of those works once too. When only a few are left, create new ones under My access – the old ones stop working.
  • Emergency by email: with email delivery configured, No access? Send a code by email sends an 8-digit code at sign-in, valid for 10 minutes, at most 3 emails in 15 minutes. It only works for signing in: changes under My access – a new passkey, a new app, new codes, turning it off – you confirm with a passkey, app code or recovery code. Otherwise someone with your password and your mailbox could add their own access.
  • New device: with a recovery code (or the factor you still have) you add a new passkey under My access or set up the app again (New phone: set up the app again). The old app stays valid until the new one is confirmed.
  • Lost everything? An admin resets your two-factor sign-in; app, recovery codes and passkeys stop working. You receive a notice by email and set up a passkey or the app again at your next sign-in.
  • Switching and turning it off: if you have the app and a passkey, Remove app under My access removes the app – the passkey stays your second factor, also for admins. Turning it off completely takes a clear warning, your sign-in password and a current factor: without a passkey via Turn off, with passkeys by deleting the last one. Each time you receive a notice by email. We advise against it. Secrets admins and owners or admins of a team with further members cannot turn it off – whoever becomes one later sets up two-factor sign-in again at the next sign-in.
  • Trusted devices: if you tick Trust this device for 30 days after the second factor, a password sign-in from this browser and the same IP address asks for no second factor for 30 days (IPv6: the same /64 network). From another IP or another browser it asks as usual. This does not work with the email code. Your password, your vault password and the confirmation of changes under My access stay required. Under My access → Trusted devices you see every device with its IP and revoke it; a new password, sign out everywhere and a 2FA reset revoke all of them. You receive a notice by email when a device is added. An admin can turn the feature off for everyone.
  • CLI: remote login pairs via the browser and therefore goes through two-factor sign-in. API tokens and device unlocks stay as they are.

Passkeys

A passkey signs you in without a password – with your fingerprint, face or device PIN (Windows Hello, Touch ID, Face ID, Android, a password manager like 1Password or Bitwarden, or a security key). It counts as both factors and only works at the real address of Secrets; a fake sign-in page gets nothing it could sign in with.

  • Add under My access → Passkeys → Add a passkey: give it a name (e.g. “Laptop”), confirm with your sign-in password – if you already have the app or a passkey, also with a passkey, app code or recovery code (no email code) –, then your device asks for your fingerprint, face or PIN. Up to 10 passkeys per account, e.g. for laptop and phone. If it is your first factor, you get the 10 recovery codes. You receive a notice by email.
  • Sign in: enter your email and Sign in with a passkey – no password needed. If you sign in with your password anyway, you then confirm with the passkey instead of an app code.
  • App or passkey? Your choice, both are equivalent. With only passkeys, Secrets does not require the app; your recovery codes are the fallback.
  • Rename and delete under My access. You confirm deleting with your sign-in password and a current factor and receive a notice by email. If it is your last factor (no app), two-factor sign-in is off afterwards – not possible for admins and team leads. Also remove a deleted passkey on the device or in your password manager.
  • Vault via passkey: when adding (checkbox Also unlock the vault with this passkey, preselected) or later in the list (Unlock vault with it …) you enter your vault password once. From then on this passkey opens the vault right when you sign in; after a page reload Unlock with a passkey is enough. The vault password stays valid and is the fallback. Anyone who can use the passkey with its PIN or fingerprint can also reach your values with it – only set this up on devices that you alone unlock. The device or password manager must support the WebAuthn extension PRF; otherwise Secrets tells you, and signing in with the passkey still works. A new vault password does not change this; if you import a different key, set up the unlocking again.

Connecting with sareba

If the sareba connection is switched on and you have a sareba account with the same email, connect your Secrets account under My access → Connect with sareba (sareba password, second factor if enabled). Vault, projects and teams stay, your sareba tenants are added. From then on you sign in with the sareba password; the Secrets password stops working, and Secrets' two-factor sign-in is replaced by sareba's.

Connection switched off. If the operator switches the connection off, you sign in directly with Secrets: the first time with your previous sareba password, which Secrets takes over as your sign-in password. Then you set up Secrets' two-factor sign-in; if you had it in sareba, you first confirm a code sent by email once. Your sareba tenants stay as of your last sareba sign-in. Once the connection is on again, sareba applies again; the sign-in password and app for Secrets stay stored for later. If the first sign-in fails (for example because you changed your sareba password in the meantime), set a new sign-in password via Forgot password?.

Vault

The first time you choose a vault password, at least 10 characters, ideally a sentence. If you already have an identity.key from the CLI, import it here; your existing public key stays valid. Once unlocked, the vault stays open until you sign out, the automatic sign-out applies or you close the last Secrets tab – also when reloading, after visiting another site and in further tabs (from 0.9.1.42). For this the tab stores the key encrypted in the browser’s session storage; only the server knows the key to open it, and only while you are signed in. New tabs take it over from a tab that is already open, in memory only. Otherwise Secrets asks for the vault password as soon as you open a project – or you unlock with a passkey (see Passkeys above). Admin, My access, Team and device pairing do not need it.

Automatic sign-out

After 15 minutes without activity (mouse, keyboard, touch, scrolling) Secrets signs you out and forgets the decrypted key. One minute before, a window asks "Still there?" with a countdown: Stay signed in or Sign out now. This applies to all open tabs together. The server also ends a session without requests, for example when the laptop lid is closed. Independently, every session ends after 12 hours. The operator sets both times. The CLI is not affected.

New version

If a new version of Secrets is released while your tab is open, a notice at the top of the page offers “Reload now”. Only then does the tab use the new features and show the current Updates page; signing out and in again is not enough. The vault stays open.

Team or tenant

Projects always belong to a team (your own team in Secrets) or a sareba tenant. If you belong to several, choose at the top right which one you are working in. For teams the role comes from Secrets (see Team and invitations), for tenants from sareba:

Role in team / sareba user typeIn Secrets
Owner, AdminSees all projects of the team or tenant, creates projects, manages access of all projects. Reads values only where their own key is enrolled.
EmployeeSees only projects they were granted access to. Can read and change values there.
Customer, Reseller, Private customer (sareba only)No access to Secrets.

Forgot the vault password

There is no reset. What helps: your backed-up identity.key. With it you set up the vault again (import under My access) and have access immediately. Without a backup, the recipients of your projects must enroll your new key. The sign-in password can be reset (see above); that does not affect the vault.