Secrets are encrypted strings used to securely store sensitive data such as:
  • API keys
  • Passwords
  • Access tokens
Secrets help prevent accidental exposure of credentials in code or logs.

Creating a Secret

To create a new Secret:
  1. Log in to the Tensor One Web Interface
  2. Go to Secrets
  3. Click Create Secret
  4. Fill in the following:
    • Secret Name
    • Secret Value
    • (Optional) Description
  5. Click Create Secret
Note: Once a Secret is created, its value cannot be viewed again. To update it, create a new Secret or modify the existing one.

Modifying a Secret

  1. Navigate to Secrets in the Web Interface
  2. Select the Secret you want to modify
  3. Click the configuration icon → Edit Secret Value
  4. Enter the new value
  5. Click Save Changes

Viewing Secret Details

To view metadata (not the value) of a Secret:
  1. Go to Secrets in the Web Interface
  2. Select the Secret
  3. Click the configuration icon → View Secret
The Secret value is never viewable after creation, only its metadata.

Using a Secret in a Cluster

You can reference Secrets in Cluster templates in two ways:

1. Direct Reference 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
  • Navigate to the environment variable section
  • Select your Secret from the dropdown menu

Deleting a Secret

To delete 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 the deletion by entering the Secret’s name
  5. Click Confirm Delete
Deletion is permanent. Make sure the Secret is no longer in use before removing it. Keep your applications secure and organized by managing all sensitive credentials with Secrets.