Skip to content

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:

  1. Your organization connects its secret manager to Xratu once. That connection is a secret integration.
  2. 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.
  3. A block says which credentials it needs, by key, with @xratu_auth.
  4. Each project has an auth.xratu file that says which binding each use of a key gets. The CLI writes it for you.
  5. 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