tensorone logo

Clusters

Secrets

Secrets are encrypted strings used to store sensitive data such as API keys, passwords, and tokens.


Creating a Secret

  1. Log in to the Tensor One Website and go to Secrets.
  2. Select Create Secret and provide:
    • Secret Name
    • Secret Value
    • Description (optional)
  3. Click Create Secret.

Note: Once created, the Secret value cannot be viewed. To update it, you must create a new Secret or modify the existing one.

Modifying a Secret

  1. Navigate to Secrets in the Web interface.
  2. Select the desired Secret.
  3. Click the configuration icon → Edit Secret Value.
  4. Enter the new value and click Save Changes.

Viewing Secret Details

  1. Go to Secrets in the Web interface.
  2. Select the Secret.
  3. Click the configuration icon → View Secret.

Note: You cannot view the Secret's value after creation.

Using a Secret in a Cluster

You can use Secrets in your Cluster templates via two methods:

1. Reference Directly in Environment Variables

Use the Secret key prefixed by TENSORONE_SECRET_. Example:

{{ TENSORONE_SECRET_hello_world }}

Where hello_world is your Secret's name.

2. Select from the Web Interface

During template creation or modification, choose your Secret directly in the environment variable configuration section.

Deleting a Secret

  1. Log in to the Web interface and go to Secrets.
  2. Select the Secret you want to delete.
  3. Click the configuration icon → Delete Secret.
  4. Confirm by entering the Secret's name and clicking Confirm Delete.
Previous
Managing Cluster Templates