Skip to content
Skilled Agents

Field note 12 · Architecture

Bring your own keys: the vault, the bill and the exit

An agent that runs on our keys is our agent. An agent that runs on yours is yours. We chose the second, and built a vault so that the choice is safe.

Written by Alper Tekin, Solustiq. Published 2 December 2026.

01

Where the keys live

Each provider key is stored in the deployment's database, encrypted with a key that exists only in the deployment's environment. The settings page shows the provider, the status and the last four characters, never the value. A key that fails to decrypt is an error, loudly, never a silent fall-back to another key.

02

What changes

The bill: the model provider, the speech provider and the e-mail provider invoice the company directly; our fee is for the agent, not for its tokens. The audit: the company sees its own usage on its own provider dashboards. The exit: revoke the keys and the agent is inert, without asking anyone.

03

Rotation and revocation

Keys are changed from the settings page by an approver and take effect within a minute. A revoked key stops the agent's calls to that provider and nothing else; the records, the tasks and the queue remain.

04

The one key that is ours

The encryption key of the vault is set at provisioning and stored in the hosting environment. It is the only secret the company must keep if it ever moves the deployment, and the runbook says where it is.

Three questions people ask about this.

Can we use a provider you do not support?
Any provider the application has a client for. Adding one is a change to the code, with the key resolved through the same vault.
Do you ever see our keys?
No. They are entered on the settings page in your deployment and encrypted there. Support works from logs that never contain them.
What if the vault key is lost?
The stored keys cannot be read. They are re-entered on the settings page; nothing else is affected.

Ask us how this rule would apply in your company.

We read every message and reply within two working days. Starting price on request.