Secret Tokens
Secret Tokens let you store sensitive values — such as API keys, webhook secrets, and credentials — in RobusTest and reference them by name in triggers and integrations. This avoids hardcoding sensitive values in your configuration.
Access Secret Tokens from Deployment Dashboard > Secret Tokens.
Creating a Secret Token
Step 1: Navigate to Secret Tokens
Go to Deployment Dashboard → Secret Tokens section.
Step 2: Create the Token
On the Create Token page, enter the following details:
| Field | Description |
|---|---|
| Key | Must be alphanumeric, without spaces. Should start with a character. Example: AuthToken123 |
| Description | Optional but recommended. Describes the token's purpose. Example: Authorization token for payment service API |
| Value | The sensitive data to mask. Example: sk_test_4eC39HqLyjWDarjtT1zdp7dc |
Click Save once completed.
Note:
- After saving, the Value field will no longer be visible when editing the token.
- You cannot view the existing value, but you can update it at any time.
Step 3: View Created Token
After successful creation, the new Secret Token appears on the Secret Tokens page. You can view and manage all tokens from this section.
Using Secret Tokens in Triggers
Reference a Secret Token in any trigger action using the following syntax:
{{Token.<secret key name>}}
Example: REST API Call with Authorization Header
Suppose you need to pass an Authorization token in the header of a REST API call:
- Navigate to the Header section of your trigger.
- Click the + icon to add a new key-value pair.
- Enter the following:
| Field | Input |
|---|---|
| Key | Authorization |
| Value | {{Token.RobusTest_1}} |
- Save the trigger.
Other users who access this trigger will not be able to see the actual token value — only the token reference is visible, keeping your sensitive data secure.
Editing a Token
- Hover over a token row to reveal the action icons.
- Click the Edit icon.
- Update the Description or Value as needed. Leave Value blank to keep the existing value.
- Click Save.
Note: The token Key cannot be changed after creation. If you need a different key name, delete the token and create a new one.
Deleting a Token
- Hover over a token row to reveal the action icons.
- Click the Delete icon.
- Confirm the deletion.
Note: Only the creator of a token can edit or delete it.
Benefits
- Keeps sensitive data secure and hidden from other users
- Allows easy token management without directly exposing secrets
- Reduces the risk of accidental leaks of confidential credentials
