Secrets are encrypted strings used to securely store sensitive data such as:
- API keys
- Passwords
- Access tokens
Creating a Secret
To create a new Secret:- Log in to the Tensor One Web Interface
- Go to Secrets
- Click Create Secret
- Fill in the following:
- Secret Name
- Secret Value
- (Optional) Description
- Click Create Secret
Modifying a Secret
- Navigate to Secrets in the Web Interface
- Select the Secret you want to modify
- Click the configuration icon → Edit Secret Value
- Enter the new value
- Click Save Changes
Viewing Secret Details
To view metadata (not the value) of a Secret:- Go to Secrets in the Web Interface
- Select the Secret
- Click the configuration icon → View Secret
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 byTENSORONE_SECRET_
.
Example:
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:- Log in to the Web Interface and go to Secrets
- Select the Secret you want to delete
- Click the configuration icon → Delete Secret
- Confirm the deletion by entering the Secret’s name
- Click Confirm Delete