Using Secrets
Managing and Using Secrets
Set a Secret
Navigate to the project, cluster, or team page and click the Secrets tab. Click the Create Secret button, enter the secret name and value, and click the Create Secret button to save.

Set team secret
gradient secrets set team --name=<name> --value=<secret>Set project secret
gradient secrets set project --id=<project_id> --name=<name> --value=<secret>Set cluster secret
gradient secrets set cluster --id=<cluster_id> --name=<name> --value=<secret>List Secrets
Navigate to the project or team page and click the Secrets tab.

List team secrets
gradient secrets list teamList project secrets
gradient secrets list project --id=<project_id>List cluster secrets
gradient secrets list cluster --id=<cluster_id>Delete a Secret
Navigate to the project, cluster, or team page and click the Secrets tab. Click the Delete button and confirm the dialog.

Delete team secret
gradient secrets delete team --name=<name>Delete project secret
gradient secrets delete project --id=<project_id> --name=<name>Delete cluster secrets
gradient secrets delete cluster --id=<cluster_id> --name=<name>Secret scoping
If the same secret name is created for more than one scope only one will be applied. Secrets have the following precedence: Project > Cluster > Team.
Using Secrets
See Experiment Variables for using Secrets with Experiments.
Last updated
