Skip to main content
Version: 23.5

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 macOS, it's the Keychain; for Windows, it's the Credential Manager. This functionality is not supported on Linux. This feature is available in release 21.2 and later.

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.

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"