Secrets and model providers
Secrets
Section titled “Secrets”Khala does not store credentials. Where a credential is needed (an MCP server, a model endpoint, a repository), Khala stores a reference to a secret in your secret manager, one per environment.
- The reference is an address such as
vault://team/path. The API rejects values that are not references. - Non-secret settings are stored next to it: the header name, the token URL, the scopes.
- The credential is resolved when it is needed and attached to the outbound request outside the sandbox. See Sandbox security.
- For tools, the tool gateway attaches it on every call, so a deployed agent never holds the credential of an MCP server. See Hosted MCP servers and tool gateway.
- Rotating a secret in your secret manager needs no change in Khala.
What reaches a model
Section titled “What reaches a model”A model receives what it needs to do one piece of work.
| When | What the model receives |
|---|---|
| Building an agent | The spec, the parts of the repository the engine reads, your standards, the output of commands and the tests the builder may see |
| Checking architecture conformance | The change and the standards it is checked against |
| An agent running in production | Its instructions, the input of the run and the results of the tools it calls |
A model does not receive credentials, held-out tests, data of other organizations or anything the build or the agent did not read.
Which provider, and where
Section titled “Which provider, and where”You decide, in the catalog. A model is approved, restricted or blocked, and it records its provider and regions. A model policy sets the allowed list for the organization or for specific agents.
| Option | Where prompts and code go |
|---|---|
| A hosted provider you approve | To that provider, under the terms you hold with it or that the contract names |
| The provider’s offering inside your cloud account | To your cloud account |
| Your own GPUs | Nowhere outside your network |
Your account or Renaiss’
Section titled “Your account or Renaiss’”A hosted provider such as Anthropic, Google or OpenAI can be connected with your own account or with Renaiss’ account. You choose, model by model.
| Your own account | Renaiss’ account | |
|---|---|---|
| Who holds the contract with the provider | You | Renaiss |
| Whose terms govern your data at the provider | Those of your contract with the provider | Those Renaiss holds with the provider, which your agreement with Renaiss names |
| Where the credential lives | In your secret manager. Khala keeps a reference | With Renaiss. It never reaches you or the sandbox |
| What it takes to use it | An admin approves the model in the catalog | The same approval, plus your explicit consent to using Renaiss’ account with that provider. The consent is recorded with who gave it and when |
Either way, the provider receives only what one piece of work needs, and no provider receives anything until your organization has approved it. Withdrawing the approval or the consent stops new requests to that provider at once.
Khala does not use your code, specs or data to train models. What a provider does with the data it receives is governed by the terms in the table above, which is why the choice of provider, and of whose account, is yours and is recorded.
The architecture check
Section titled “The architecture check”One check does not use a model from your catalog. Architecture conformance reviews each change against your standards with an open-weight model that Renaiss chooses, so that the code is never reviewed by the model that wrote it. It receives the change and the standards it is checked against, and nothing else. In SaaS it runs on Renaiss’ account, so it is used only with your consent, recorded like any other.
| Modality | Where the architecture check runs |
|---|---|
| SaaS | On a model Renaiss provides for the platform, served by an inference provider under contract with Renaiss |
| BYOC | On GPUs in your account |
| On-premise | On your GPUs, inside your network |
Rules your standards can express as rules, such as layer boundaries, forbidden dependencies or naming, are checked by code and reach no model at all.
Reducing what is sent
Section titled “Reducing what is sent”- Data policy. It sets how personal data is handled (allow, redact or block), the residency required and the data classifications an agent may not touch.
- Tool classification. Each MCP server declares the classification of the data it exposes.
- Approval for writes. A tool can require human approval before it acts.
The tool gateway applies these on every tool call an agent makes. See Hosted MCP servers and tool gateway.
By deployment modality
Section titled “By deployment modality”| SaaS | BYOC | On-premise | |
|---|---|---|---|
| Your secret manager | Stays where it is. Khala reaches it over the network with access you grant and can revoke | Your cloud’s secret manager, reached with workload identity. No long-lived keys | Your secret manager, in the same network |
| Khala’s own secrets: database connection, sign-in key, SMTP password | Held by Renaiss | In your secret manager, under your keys | In your secret manager |
| Model options | A hosted provider you approve | A hosted provider, your cloud’s model service inside your account, or GPUs in your account | Your own GPUs. A hosted provider only in connected mode |
| Whose account with a hosted provider | Yours, or Renaiss’ with your consent | Yours, or Renaiss’ with your consent | Yours, or Renaiss’ with your consent, in connected mode only |
| Path of prompts and code | From sandboxes operated by Renaiss to the provider | Stays in your account with your cloud’s model service or your GPUs | Never leaves your network with your GPUs |
| Architecture check | A model Renaiss provides, through an inference provider it contracts | GPUs in your account | Your GPUs |
| Importing an OpenAPI document by URL | Public HTTPS addresses | Public HTTPS addresses | The internal address ranges you allow. Uploading or pasting the file also works |
| Data sent to Renaiss | Khala runs at Renaiss | None | None |
The rule does not change: Khala stores references, never credentials, and a model receives only what one piece of work needs.