メインコンテンツまでスキップ
バージョン:26.4

Commands for Secure Values

VaultValues in Eggplant Functional are strings that get stored in a secure location, referred to as a vault. The location is specific to your operating system; for more information, see Using Vault Values on Different Platforms below. This feature is available in EPF 21.2.0 and later for Windows and MacOS, and was added for Linux in 26.4.0.

The commands on this page are used to store information securely in a vault. The VaultID is a user-defined string. describing the vault. These commands can be used with the TypeHiddenText command to protect connection information like passwords.

Using Vault Values on Different Platforms​

Click the appropriate tab below to see information on where VaultValues are stored on each platform, and any specific setup instructions for that platform:


On Windows, VaultValues are stored in the Credential Manager.


Delete VaultValue Command​

Behavior: Deletes a VaultValue from a vault.

Parameters: A VaultID.

Example:

DeleteVaultValue "myVaultID"

Example:

DeleteVaultValue vaultID:"myVaultID"

Get VaultValue Command​

Behavior: Returns a VaultValue from a vault.

Parameters: A VaultID.

Example:

set mySecret to GetVaultValue("myVaultID")

Example:

set mySecret to GetVaultValue(vaultID:"myVaultID")

Set VaultValue Command​

Behavior: Stores a VaultVaule in the specified vault.

Parameters: A vaultID and a value.

Example:

SetVaultValue "myVaultID", "myValue"

Example:

SetVaultValue vaultID:"myVaultID", value:"myValue"