API モニタリング用のクレデンシャル Vault
クレデンシャル Vault は、合成 API モニタリングジョブに使用されるクレデンシャルを安全に保存します。合成スクリプトまたは API モニタリングスクリプトを使用してジョブを作成する場合、ユーザー名やパスワードなどのクレデンシャルを追加してアプリケーションにログインし、保存されたクレデンシャルへの参照をスクリプトに挿入できます。ジョブが実行されると、API モニタリングスクリプトはその参照を使用して、クレデンシャル 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: