Create a secret
Creating a secret allows scripts to access login credentials and other sensitive information without exposing those credentials directly in code.
Create a secret
Navigate to the System navigation menu and click Secrets, then click + Create Secret. The Create New Secret dialog appears.
Populate the form:
- Name: The unique identifier for the secret. It can contain mixed case and spaces.
- Description: A description of what the secret represents.
- Value: The secret string value. Once set, it cannot be read by again using the interface (but is available to scripts)
- Expires At: To set up an expiring secret, populate this field.
Click Save. The secret is set.
🛈 Use the Iris API functions
SetSecret(),GetSecret()andDeleteSecret()to manipulate secrets in scripts.