ON-PREM CHOREO CLOUD BOTH

What it is

The secrets path is how a sensitive value, such as an API key an agent needs, travels from the person who typed it to the running pod without being stored in the agent's configuration. Agent Manager hands the value to OpenChoreo's secret API, which stores it in the secret backend and creates a SecretReference (a pointer). The pod receives only a reference to a Kubernetes Secret that is filled from that pointer.

It is a bank safe-deposit box. You put the jewels in at the counter, and you carry home only a receipt with the box number.

Why it exists

Keys must not sit in plain text in the database, in manifests or in logs. A pointer can be passed around freely, and the value is read only where it is needed.

How it works

  • When an environment variable or file mount is marked sensitive, Agent Manager sends its value to the secret client, which calls the OpenChoreo secret API.
  • OpenChoreo stores the value in the secret backend and creates a SecretReference. Agent Manager keeps only the SecretReference name, which is built from the entity and environment names and ends in -secrets.
  • The storage location is built from the organization, project, environment and agent names, for example org/project/env/agent/config/entity/key. Names containing a slash are rejected.
  • On the data plane, an ExternalSecret copies the value into a Kubernetes Secret, and the pod's variable points at it.
  • A secret that Agent Manager did not create is not overwritten or deleted.
  • The on-prem setup installs OpenBao as the backend. The backend is pluggable behind the secret client.

Key facts

Entry point
OpenChoreo secret API (create and update)
Pointer
SecretReference (name ends in -secrets)
Backend (on-prem)
OpenBao
In the pod
Kubernetes Secret via ExternalSecret
Used by
Agent variables, LLM and MCP keys, AgentID secrets

Talks to (1)

Used by (2)