Skip to content
Docs · Vault how-to

Security

The Vault, step by step

Everyday Vault jobs for team admins: store a service key, give someone their own, share, rotate, someone leaving. Steps in the app, or one line to your AI tool.

Updated

On this page

The jobs a team admin does with the Vault, one at a time. Each has the steps in Yomenie (Vault in the left rail, below AI work, or ⌘+Shift+L) and the one line to ask your AI tool instead, if you’ve connected one with “Manage Vault secrets” ticked.

One rule runs through all of them: issue keys individually by default; share only Service and Break-glass secrets. A key per person means one can be turned off without breaking anyone else (why).

Before the first one, the team vault is set up (once, by whoever runs Yomenie), and two things once: an owner sets up the workspace recovery key, and everyone who’ll hold secrets uses a passkey that supports the Vault once in Yomenie (their Vault access comes with it; there’s no separate step). Values are stored as Sensitive for now (why).

Save a login, a note or a key

Add secret asks what it is first: Login, Note, API key, Database, SSH key or Card.

Add secret opens its own page under the Vault, so nothing you type is lost to a stray click or Escape. The vault starts opening as the page loads (the row above the buttons says so, with how long it’s taken) and you can type the whole time. Leave the page with something typed and Yomenie asks before discarding it; closing the tab asks too. While it saves, the button says Saving…; if it fails, the row says why, with Retry, and everything you typed is still there.

  • Login: type the website (cleaningsearch.com.au) and the provider fills itself in; then the username and the password, or press Generate for a strong one. If the site uses a one-time code, press Add a one-time code and paste the setup link, type the setup key, or paste or drop a screenshot of the QR code. The screenshot is read in your browser and never uploaded. The code shows straight away so you can check it matches the site.
  • Note: a title and the text: wifi details, recovery steps, anything only some people should read.
  • API key: paste it and most of the fields fill themselves in, as before.
  • Database: the host, port, database, username and password. Paste a postgres:// or mysql:// connection URL into any field and it’s split into the parts. When you reveal it there’s a connection URL to copy too.
  • SSH key: paste the private key (OpenSSH or PEM), with its passphrase and public key if it has them. Its fingerprint, as ssh-keygen -l shows it, is worked out in your browser and shown on the list so you can tell keys apart.
  • Card: the name, number, expiry, security code and an optional PIN. A number with a wrong check digit is refused. The list shows only the brand and the last 4 digits, like “Visa …4242”.

Paste a connection URL, a private key or a card number where an API key goes and Add secret switches to the right kind and fills it in.

Every kind has a Project (below). Beyond that, each kind asks only for the details that fit it, under More for everything but an API key. An API key has the environment, account, variable name, Key ID and a rotate-by date. A Database has the environment, variable name (like DATABASE_URL) and rotate-by date; an SSH key the environment and rotate-by date; a Login only the environment. A Note and a Card have none of them. A login is named after its website (cleaningsearch.com.au, or cleaningsearch.com.au/staging with an environment), and you can change the name. A secret saved before this keeps every detail it has: Edit still shows a detail its kind doesn’t ask for while it’s filled in, so you can clear it.

Every kind has Notes, which everyone in the workspace can see: what it’s for and who to ask, never a password. Everything else is sealed in your browser with the rest; Yomenie’s server only sees the website, the name, the Notes and, for a card or an SSH key, the hint above. When you reveal a secret you get each part with Copy, passwords, card numbers and codes hidden until Show, Open for a website, and a login’s current one-time code with the seconds it has left.

Your AI tool: “save the cleaningsearch.com.au login to the Vault”. It can’t see or send the password: it fills in everything else, adds fields you ask for (like “Recovery codes”), and gives you the link to type the values yourself.

Projects

A project is what a secret is for: a product, a client or a service, like CleaningSearch or Billing. Your workspace keeps one list of projects, and a secret can be in one of them, or none.

  • Pick it when you add a secret: Project lists your workspace’s projects, for every kind of secret. Type to find one; if it isn’t there, + New project “Billing” adds it and picks it at once.
  • Filter by project: press Project above the Vault list. Each row shows its project first, like Billing · OpenAI · Production. A project’s link (/vault?project=billing) opens the list filtered to it.
  • Move a secret: open it, press Edit, pick another project or No project. Its path name doesn’t change.
  • Rename, team, delete: the project’s managers, owners and admins, from the project’s ⋯ or their AI tool (update_project, delete_project). Managers and who can use each environment: Projects in the Vault. A project can belong to a team; one team can have several. Deleting a project takes it off its secrets; it never deletes a secret.
  • From your AI tool: “list the CleaningSearch secrets”, “add a project called Billing for the Platform team”, “move the Stripe test key to Billing”. The tools are list_projects, add_project, update_project, delete_project, and project on list_secrets, add_secret, update_secret and request_secret.

Secrets saved before projects keep the project text they had: each spelling (any case) became one of the workspace’s projects, and secrets without one stayed without.

Store a key the team uses

A Service key: the OpenAI key your transcription service runs on, the Stripe key for checkout.

  1. In the Vault, press Add secret (or Add here in the provider, account and environment it belongs to).
  2. Paste the key into Secret, the first field. Your browser recognises the provider and, where the key says so, the kind and environment, and fills them in with the variable name and the Key ID. An AWS access key ID pasted with its secret goes into Key ID, and the AWS account is suggested from it.
  3. Pick the Environment (the list is your workspace’s own; + Add an environment… adds one such as QA or Test), set Kind to Service and pick the Project (type to find one, or + New project to add it). The Name builds itself, like openai/screenapp/production/transcription; you can edit it.
  4. Who gets it names the people on the project’s line for that environment: “Everyone on screenapp · Production: you, Kofi and Priya”. They get it without a share, and so does anyone who joins the line later. Nobody on it yet? It says “Only you, for now”. To change who’s on it, a project manager follows Manage project access (top right of the block).
  5. Press Add secret. One passkey touch seals the value in your browser for you and the recovery key; the people on the line get their copies as the project gives them.

Copy this name for the provider copies the path, so the key has the same name in the provider’s console and you can match them later.

Your AI tool can’t seal a Sensitive value, so it sends you to Add secret for this one. Every secret is added with its value.

Give someone their own key

A Personal key: Kofi needs to call OpenAI from his laptop. Owners and admins issue them.

  1. Make a new key at the provider for Kofi. Copy this name for the provider in the dialog gives you its name, like openai/screenapp/staging/kofi.
  2. In Add secret, paste the key, keep Kind on Personal and pick Kofi as the Person.
  3. Press Add secret. It’s sealed for Kofi and the recovery key only: no copy stays with you. Kofi gets “Bud issued you a personal OpenAI key”, and it opens with his passkey.

Personal keys aren’t shared on: anyone else who needs one gets their own. If Kofi makes his own key at the provider, he adds it himself as his own personal secret.

An AI tool can’t add this one for you: the value is pasted and sealed in Yomenie.

Share a secret, and end access

  1. Open the secret. Under Who has it, pick the person and, if it’s for a while only, the date their access ends.
  2. Press Share and confirm it’s you. They get a message from you with a link to the secret.
  3. To end it sooner, press End access on their row. It takes effect at once.

Ending access stops future reveals. If they revealed it, they may still have it: pick Ask for rotation… in the secret’s ⋯ menu too.

Ask your AI tool: “Share the staging OpenAI transcription key with Nadia until Friday.” It gives you a link with the share filled in; you press Share. “End Nadia’s access to it” ends it at once.

Someone needs a key

  1. They search the register in the Vault (everyone in the workspace sees it, never a value): by provider, path, project or the key’s ID.
  2. Found it? On its page they press Request this key (for a personal key, Request your own key) and say why in a line. Not there? Request a new secret on the Vault page says what they need: provider, environment, project, a line about it. In chat, /secret request an OpenAI key for staging does the same, and posts a request card in that conversation: what’s asked for, who asked, and where it stands (Open, Shared, Issued, Declined), updated as soon as someone answers. Never put the key itself in a request: one that looks like a key is refused.
  3. The people who can answer are told: a Service secret’s owner, otherwise the workspace’s owners and admins. Asked in a DM or a group DM (up to 8 people), the others there are asked too and get a notification that opens the card. The request also waits on the Vault’s Requests tab, which counts what waits for each person, and shows in the asker’s own Activity (“You requested …”).
  4. They answer with one click, on the card or under Needs attention on the Vault’s list. Add it and share opens the Add a secret page as a Service secret already shared with Kofi, and goes back to where you were once it’s added. Share one of yours (or Share stripe-prod for a named secret) opens a secret’s page with Kofi picked. Owners and admins can Issue Kofi their own key: Add a secret already set to a personal key for Kofi; make the key at the provider, paste it, done; it’s sealed for Kofi and the recovery key only. Or Decline, with a line saying why. Sharing still follows the workspace’s rules (a call for Production secrets, the passkey step), exactly as from the Vault.
  5. Kofi is told (“Marcus issued you your own key: openai/…/kofi”) with a link to it, and the card closes to one grey line saying who answered and when (“✓ Marcus issued Kofi their own key…”); a declined or withdrawn request reads the same way with a dash. A request can be taken back while it waits (Take it back on the card). On the phone the card shows its status; Answer in Yomenie opens it on the web.

Not yours to answer? Copy the request’s link (the small link icon on the request, in the Vault or on its card) and send it to whoever might have the key, or post it in a channel. In chat the link shows the request’s card. Anyone in the workspace who opens it can answer with Add it and share or Share one of yours; issuing stays with owners and admins, and declining with the people asked. The first answer closes it everywhere, live: someone halfway through adding the key is told “Lahiru answered this a moment ago”. Answered requests leave the list for Answered on the Requests page.

Someone without Vault access. A value can only be sealed for people who have set up Vault access, so Yomenie says so before anyone types a value. Asking needs your own Vault access (/secret request tells you, with Set up Vault access). In Add a secret, pick a person who hasn’t set it up and the page says “Kas hasn’t set up Vault access yet, so the key can’t be sealed for them.”, with Ask Kas to set it up (sends Kas a DM with the one-tap link); nothing is saved until the value can be sealed for them, since every secret has its value. People to share with who lack it are named too, with Leave them out. When Kas finishes, you’re told “Kas set up Vault access”, and you add it then. A request is answered only with a secret that has its value, and stays open until that value opens for the person (for example a share waiting for its call). Your AI tool says the same up front (add_secret, share_secret) and asks for you (ask_to_set_up_vault_access).

Ask your AI tool: “Do we have a Stripe key for checkout, and who has it?” or “Ask for the Stripe checkout key, I’m debugging refunds.” It files the request for you (request_secret); “ask Dilushan for the staging database in our DM” posts the card there too (conversation). list_secret_requests shows what’s waiting, with a link to each card and each request; “send Dilushan’s APNs request to Lahiru and #ops” posts the request’s link (get_secret_request opens one by its id or link).

A secret for this conversation

In a chat, /secret opens Add a secret shared with the people there (a Service secret); /secret OpenAI fills in the provider. Paste the key after the command instead, /secret sk-…, and it lands in the secret field: the key is never sent as a message, saved as a draft or put in the page’s address. The /secret commands show in the list only once you have Vault access; typed without it, the box says what’s needed, with Set up Vault access. Once added, the conversation gets a link to the secret and you’re back in it. /secrets lists the secrets everyone in the conversation already has.

A key was pasted in chat

Yomenie stops a message that looks like a key before it’s sent and offers Save to the Vault instead: the key is stored as a Sensitive secret and the conversation gets a link to it. Already sent? In the message’s ⋯ menu, pick Move to the Vault…: the message keeps a link where the key was, and its earlier versions lose it. Phones may already have shown it, so rotate a key that matters. More in A secret pasted in chat.

Ask your AI tool: “Move the key in my last message in #eng to the Vault.”

Rotate a key

  1. Set a rotate by date on secrets that should be replaced on schedule. On that day the owner gets “openai/screenapp/staging/kofi is due for rotation”, and the secret’s page shows where to make the new key (the provider’s console), how to find the old one there (its Key ID, or the start and last four characters “from the key”), its name there, and when it was added (it matches the console’s Created column). Not sure which key it is? The console’s Last used column shows the one still in use.
  2. Make the new key at the provider, then press Add new value (or Replace the value under the value), paste it and press Store new version. It’s sealed for everyone who has the secret (a personal key stays personal) and becomes the new version. The next rotate-by date moves 90 days on.
  3. The old value is kept, flagged Old key may still be active, so nothing breaks while you switch over. Revoke the old key in the provider’s console, then press I’ve revoked the old key and confirm with your passkey: the old version is destroyed for good. Storing the new value needs no passkey, because nothing is lost until this step.

Anyone who has a secret can pick Ask for rotation… in its ⋯ menu (after it was pasted somewhere, say); its owner is told.

Ask your AI tool: “Which secret is AKIA…?” finds it by its Key ID. “Ask Priya to rotate the Stripe live key” tells its owner. Once the old key is revoked: “I’ve revoked the old key for openai/screenapp/staging/kofi” gives you the secret’s link, where your passkey confirms it.

Someone leaves, or loses their passkeys

Someone leaves: when they’re removed from the workspace, their Vault access there ends by itself (their copies and their access to each secret), and each secret’s owner gets one message listing what they could see.

  1. Rotate those secrets at the provider: that’s what really turns their access off.
  2. Give the secrets they owned a new owner from Edit.
  3. Revoke their personal keys at the provider.
  4. Delete the personal keys you’ve revoked. They wait in Recently deleted for 30 days, in case one was still needed, then go for good.

Ask your AI tool: “Kofi left. End his access to every secret, and list the ones he revealed.”

Someone loses their passkeys: they press Start over and use a new passkey once, which makes their new Vault access. Their rows then say No copy for their passkeys, and anyone who holds each secret presses Share again. If nobody else holds one, an owner uses the recovery sheet. Before re-sharing, check it’s really them, by a call or in person: a new passkey is exactly what someone taking over their account would have.

Break-glass secrets

A Break-glass secret is emergency access for when normal access fails, like a cloud account’s root login. Keep it as a Critical secret: split between three people, any two of whom open it together, so nobody opens it alone.

  1. Press Add secret, pick Critical, and choose the three holders (each needs Vault access, which comes with their passkey).
  2. To open it, a holder presses Ask to open it; another approves with their passkey; the first presses Open it within a day.

More in Critical secrets.

Ask your AI tool: “Ask the other holders to let me open the AWS root key.” It only sends the request; approving and opening stay in Yomenie.