Secrets
Org secrets are encrypted key-value pairs that Colony Cloud injects into worker environments at runtime. Use them to supply API keys, tokens, and other credentials that your pipeline tasks need — without hardcoding them in your repository or configuration files.
Add a secret
Section titled “Add a secret”- Open Settings → Secrets.
- Click New secret.
- Enter a name — uppercase letters, digits, and underscores only (e.g.,
OPENAI_API_KEY). Names must be unique within the organization. - Enter the value. The value field is masked and is never shown again after you save.
- Click Save secret.
The secret is immediately available to all workers in the organization. Workers receive secrets as environment variables using the name you specified.
Rotate a secret
Section titled “Rotate a secret”Rotate a secret to replace its value without changing the name. Workers pick up the new value on their next task — no restart is needed.
- Open Settings → Secrets.
- Find the secret you want to rotate and click Rotate.
- Enter the new value in the masked field.
- Click Save.
The old value is discarded immediately upon saving. If your external service requires coordinating the rotation (for example, creating a new token before revoking the old one), complete that coordination in your service before rotating here.
Delete a secret
Section titled “Delete a secret”- Open Settings → Secrets.
- Find the secret you want to delete and click the ⋯ menu, then select Delete.
- Confirm the dialog.