Secret
A Secret stores a key, password or token under a name, and this page lists where you can name one and who must be able to read it.
A Secret stores a key, password or token under a name, so that no YAML you write carries the value. This page lists the fields that name a Secret and who must be able to read it for each. Create one with rl secret create.
Secret handling explains how Ringleader hides a value, who can read it and what a Ringleader-only Secret is.
Places that name a Secret
A Secret’s value reaches two kinds of place. In the first, Ringleader delivers the value to the workstation. In the second, Ringleader adds the value to a request as it leaves the workstation, and the workstation never has it. Who must be able to read the Secret differs between them:
| Where you name the Secret | Who must be able to read it | A Ringleader-only Secret |
|---|---|---|
${secret:NAME} in environment, on a Workstation, a WorkstationConfig or a pool template | The person who applies the object, and the owner of the workstation each time Ringleader delivers the value. | Refused. |
sources[].git.credentialRef and tailscale.authKeyRef, on the same three | The person who applies the object, and the owner of the workstation each time Ringleader delivers the value. | Refused. |
An llm Integration’s llm.endpoint.credentialRef with source: external, and an mcp block’s mcp.credentialRef in local mode | The Integration’s author, and the owner of each workstation it reaches, each time Ringleader delivers the value. | Refused. |
httpProxy.credentialRef and rules’ inject.value of an httpProxy Integration, and mcp.inject.value in injected mode, on a cloud workstation | The Integration’s author, checked again whenever Ringleader reads the value. The workstation’s owner needs nothing. | Allowed. |
| The same fields, on a local workstation | The Integration’s author and the workstation’s owner. If the owner cannot read it, the host reports OwnerAccessDenied. | Allowed. Ringleader adds the key only for a node-bound workstation that the Secret’s owner also owns, when every condition in Keys on local workstations holds. Otherwise, requests to the host go out without the key. |
An llm Integration’s llm.providers.<provider>.credentialRef with source: ringleader | The Integration’s author, checked on each request. The workstation’s owner needs nothing. | Allowed. |
Next steps
- Secret handling: who can read a Secret, and what happens when access is removed.
- Workstation and Secret sharing: give a teammate access to a Secret with a Grant.
- Integration: the fields of an Integration that name a Secret.