Secrets¶
Your projects need credentials: API keys for model providers, database passwords, signing keys. Xratu takes those credentials from the secret manager your organization already runs, such as Vault, AWS Secrets Manager, Azure Key Vault or GCP Secret Manager, at the moment a project needs them. The credential stays in your manager. Xratu stores which credential each project may use, and a record of every time one was used.
How it fits together:
- Your organization connects its secret manager to Xratu once. That connection is a secret integration.
- In a workspace, you give each credential a name. That name is a secret
binding:
customer-facing-model, for example, pointing at a path in Vault. - A block says which credentials it needs, by key, with
@xratu_auth. - Each project has an
auth.xratufile that says which binding each use of a key gets. The CLI writes it for you. - When the project runs, the node running it fetches each credential through the XSRP gateway installed with its data plane, and the credential goes straight to the code that asked for it.
A project that needs no credentials needs none of this.
In this section¶
- Secret integrations: connecting your secret manager, and what "ready" means
- Secret bindings and revisions: naming a credential, changing it safely, and how rotation behaves
- Assignment-derived resolution grants: the short-lived permission that lets a node fetch a credential
- Declared auth binding delivery: how a credential gets from your manager to running code
- ASPTC: short-lived credentials for publishing packages
- Credential boundary: who holds what, and why one stolen piece fetches nothing