Referencing a secret
1
Create the Secret in your workloads namespace
Use whatever tooling you normally use —
kubectl, a secrets operator, or your GitOps pipeline. Each key becomes an environment variable in your agent:2
Reference it
3
Use it in a deployment
Attach the set by name, as with any secret set:or in
pcc-deploy.toml:pipecat cloud secrets list and the dashboard alongside managed sets, marked as referenced. Listing a referenced set shows no keys — Pipecat Cloud does not know them.
Image pull secrets
The same flow covers private-registry credentials. Create adocker-registry Secret and reference it; the platform detects the Secret’s type and registers it as an image pull secret:
image_credentials in pcc-deploy.toml or --credentials on deploy, exactly as for a managed image pull secret.
Readiness
Every secret set reports a readiness state, and deploys are gated on it — a deploy that binds a set which is notready is rejected with 409 Conflict rather than failing later when the agent starts.
Readiness is re-checked against your cluster whenever the set is listed or bound to a deploy. Deleting the Secret out from under a reference is safe: the set turns
pending, deploys that use it are refused, and re-creating the Secret returns it to ready without re-registering.
Managing values
Because the Secret is yours, so is its lifecycle:- Rotate a value by updating the Secret in your cluster. Running agents keep the values they started with; redeploy to pick up the change. A deploy with no other changes looks like a no-op, so use
pipecat cloud deploy --force(why). - Remove the reference with
pipecat cloud secrets delete <name>. This removes only Pipecat Cloud’s record; the Secret in your cluster is untouched. - Managed secret sets are not available in .
pipecat cloud secrets set … --region <self-hosted region>is rejected with a message pointing at the reference flow, and a referenced set cannot be modified withsecrets setorsecrets unset.
Secret set names are unique across your organization, across both managed and
referenced sets. Choose Secret names that do not collide with managed sets you
use in .
After rebuilding a cluster
Referenced Secrets live only in your cluster. If you rebuild it and re-enroll the same region, Pipecat Cloud still lists every referenced set from before — but each one is nowpending until you re-create the Secret in the new cluster. Re-create your Secrets before the first deploy; no re-registration is needed.