Credential Vault for API Monitoring
Credential Vault securely stores the credentials used in Synthetic API monitoring jobs. When you create a job with a synthetic script or API monitoring script, you can add a credential, such as a username and password, to log in to an application and inject a reference to the stored credential into the script. When the job runs, the API monitoring script uses that reference to retrieve the credentials stored in the Credential Vault.
How to Use Synthetic Credential Vault
Add Synthetic Credentials
In Credential Vault, you can add credentials one-by-one or import multiple credentials.
Syntax Rules
This table describes credential syntax rules used for creating credentials and adding credentials to the API monitoring scripts:
Element | Rule |
---|---|
Keys |
|
Values |
|
Credential key name (used in synthetic scripts) |
"<%key%>" |
Add a Single Credential
To add a single credential for a sample email:
- Go to
> Tools > Manage Synthetic Credentials.
- Click Add.
- Enter a key and value. Make sure you follow syntax rules.
- (Optional) Select an associated application. When you search for credentials in the API monitoring script, associated credentials are suggested first.
Import Multiple Credentials
You can add multiple credentials at once using the Import button.
To add multiple credentials for sample emails and passwords:
-
Go to
> Tools > Manage Synthetic Credentials.
-
Click Import.
-
Copy and paste credentials or type them line by line. Make sure you follow syntax rules.
email_key=user123@email.com
password_key=Password123
email_key=user456@email.com
password_key=Password456
Use Credentials in an API Monitoring Script
You can retrieve a credential value by inserting the corresponding credential key in a script. Credentials associated with a specific application appear first when you start typing the key in the script.
To create an API monitoring job:
Store the Certificate Authority Content in the Synthetic Credential Vault
To store the Certificate Authority (CA) content in the Synthetic Credential Vault:
User Permissions
In the Controller Administration UI, you can configure roles and groups with Account-level. You can add roles and groups to users based on the requirement. The Manage Credential Vault permission allows you to manage access control of the Credential Vault.
Permission | Privileges |
---|---|
Manage Credential Vault |
|
View Credential Vault |
|
Manage Self Credential Vault |
When the administrator assigns this permission to users, they can add, edit, and view the credentials they create. When the administrator sets the synthetic.self.credentialvault.disabled flag to true,users can view the credential value. If it is set to false, Value column is hidden. |
To create a role with the Manage Credential Vault: