Secrets
A secret is a named, stored credential that other settings reference by name instead of holding the value themselves: the secret access key of a storage connection, the password of a JDBC catalog, the password of a database connection. Control Plane → Infrastructure → Secrets manages them. Values are never displayed after you save them.

You need secret:read to open the page; creating, rotating and deleting need the matching permissions.
The secret list
A strip counts the secrets.
The list also shows the secrets egret creates and manages itself: engine-internal-<engine id>-… (the Trino internal-communication secret), engine-monitor-… (the egret-monitor password for the native Trino monitor), engine-tls-… (the coordinator keystore) for every provisioned engine, the StarRocks root and Trino delegator passwords, and catalog-client-… (a Catalog Client credential an engine presents to egret's catalog). The page says Secrets marked System are created by egret for engines and catalogs and are managed with them.
System secrets
A secret egret manages carries a System badge next to its name, in the list and on its page. Egret rotates and deletes it together with the engine or catalog that created it, so you cannot change it by hand:
- Edit, Rotate value and Delete are disabled, with the reason Managed by egret: it is rotated and deleted with the engine or catalog that created it.
- The API refuses a rename, a rotation or a delete with 409: «name» is managed by egret: it is rotated and deleted with the engine or catalog that created it, not here. The secret's
system_managedfield istrue. - No secret picker offers it: the Secret fields of storage and database connections, the catalog Password secret pickers and the engine create and security forms leave it out.
| Column | Meaning |
|---|---|
| Name | The secret name, with its keys underneath (for example password, username). Select it to open the secret. |
| Type | The secret type, for example Opaque or kubernetes.io/basic-auth. |
| Description | Free text, or a dash. |
| Used by | How many connections reference it. |
| Created | The creation date. |
Add a secret
- Press Add secret. The dialog is Create a global named secret that storage and database connections can reference.
- Type the Name, for example
prod-s3-secret, and an optional Description. - Choose the Type.
- Under Data, press Add key and fill a key and a value for each entry. The value field hides what you type.
- Press Add secret.

Types
| Type | Use it for |
|---|---|
| Opaque | Any set of keys you define, for example password or token. |
| kubernetes.io/basic-auth | A username and password pair, for example S3 access credentials. |
| kubernetes.io/tls | A TLS certificate and key. |
| kubernetes.io/dockerconfigjson | Registry credentials. |
| kubernetes.io/ssh-auth | An SSH private key. |
The secret page

The header shows the name, type and USED BY n connection(s), with Rotate value and Delete. Tabs:
| Tab | What it shows |
|---|---|
| Overview | The Details table, with metadata only: Name, Description, Type, Keys, Used by and Created. Metadata for this secret. Values are never shown — use Rotate value to replace them. Edit changes the editable metadata. |
| Used by | Storage connections that reference this secret for their credentials. With none: No storage connections reference this secret. |
Rotate a secret
Rotate when a credential changes, or on a schedule. Everything that references the secret picks the new value up.
- Open the secret and press Rotate value.
- In Rotate «<name>», write the new values for each key. The dialog says Write new values for this <type> secret. Connections referencing it pick up the new credentials immediately.
- Press Rotate value.

Delete a secret
Press Delete on the list or the secret page. A secret that is in use cannot be deleted: the Used by count must be zero. Detach it from every connection first. A System secret cannot be deleted here at all (System secrets).
A secret is a platform-wide object. Rotating it changes the credential for every connection that references it.
Use a secret
- In a storage connection: the Secret field.
- In a catalog (JDBC, Elasticsearch): Password secret.
- In a database connection of a workspace: the Secret selector (see Connections).
Limits and known issues
- Values cannot be read back, only replaced.
- Names are global across the platform.
- Secrets that existed before the System flag was introduced are marked from the engines and catalogs that point at them, and from the name and description of a minted secret. A minted secret that nothing points at any more and whose name or description was changed by hand is not marked.