Environment Secrets
Create, store, and manage environment variables and secrets
Environment secrets are securely encrypted values that function as environment variables within your workflows.
They enable you to store and manage sensitive configuration data, such as third-party API keys, without hardcoding them into your scripts.
Via the UI
The Clarifai platform offers an intuitive interface for creating, managing, and securing your environment secrets.
To create a secret, log in to the Clarifai platform. Then, in the collapsible left sidebar, select Settings and choose Secrets from the dropdown list.

On the ensuing Secrets page, click the Create Environment Secrets button.
Next, on the form that pops up, enter a required name for your secret, an optional short description, and the required value.
Lastly, click the Create Environment Secret button.

The new secret will be listed in the Environment Secrets section, where you can copy, view, edit, or delete it.

- Environment secrets do not expire. In case your secret gets compromised, you should delete it, and create a new one.
- We recommend that you do not share your secrets with other users.