Skip to content
Docs · Agents and secrets

Security

Agents and secrets

AI agents never hold your raw secrets. They call models through Yomenie, which adds the key from the Vault; deny rules decide and every call is recorded.

Updated

On this page

An AI agent often needs a third-party service to do its work: GitHub to open a merge request, OpenAI to call a model. In Yomenie it never gets the secret itself. It calls through Yomenie with its own agent key, Yomenie decides and adds the key, and every call is written down.

The rule: agents never see a secret

  • An agent has only its own Yomenie agent key. It’s shown once when it’s made and stored only as a hash.
  • Secrets stay in the Vault. A model provider’s key is a Vault secret, added in Vault → Providers. Agents get a call made for them, never the value.
  • Agents can’t use Sensitive secrets at all, nor Critical ones: those open only on people’s devices.

Calls go through Yomenie

When an agent calls a model, it calls through Yomenie with its own credential. Yomenie checks whether it’s paused and any deny rule (deny always wins), adds the provider’s key from the Vault on the way out and records the call. The provider’s key is added in Vault → Providers. Every call is in the audit log.

Connections, grants on connections and the older token broker were removed on 29 Nov 2026. A call to the broker’s old address answers with a pointer to Vault → Providers.

Deny rules and pausing

  • Deny rules block a provider, scope or environment for one agent or all of them. Deny always wins. See Deny rules.
  • Pausing an agent stops every call it makes until someone resumes it.

Deny rules for one agent are changed by its managers, and for every agent by owners and admins; each change asks you to confirm it’s you. Your AI tool can’t make these changes for you.

The proxy: a secret added on the way

An agent calls its model provider through Yomenie. It points its SDK at Yomenie and uses its own credential; the Vault adds the team’s key to each call, so neither the agent nor Yomenie’s app ever holds it. Each call is checked against pausing, deny rules and daily token limits, and recorded with the agent, the provider, the model, the answer’s status, timings and tokens. What was asked isn’t kept unless a manager turns on recording for debugging. See Models through Yomenie.

The proxy uses Standard secrets, the level the Vault itself can open. Provider keys are kept at Standard while Standard values are off for everything else. Coming: The Vault's key in a separate key service, on the roadmap

Other services through Providers

Connections, which kept their own encrypted secrets, were retired on 29 Nov 2026. Coming: GitHub, Stripe, AWS and Slack through Integrations, on the roadmap GitHub, Stripe, AWS and Slack come next through Providers, each key a Vault secret, so one register holds everything the team and its agents use.