VAULT Retrieve credential function

The VAULT Retrieve credential function in RPA.

Help CentreCredentials & Connections

This article describes the RPA Vault functionality to retrieve a stored credential.

For a full list of available functions, please read VAULT functions.


Description

The Retrieve credential function retrieves a stored credential from the vault by name. You can retrieve all fields as an object, or a specific field such as password or token.


Setting it up

To use the Retrieve credential function, follow these instructions:

{{popups:rpas/add:action=vault-get}}

Once on a process map:

  1. Navigate to the process where you would like to add the Retrieve credential function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the VAULT Retrieve credential option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
NameYesText-The name of the credential to retrieve
FieldNoText-Specific field to retrieve (e.g. password, token). Omit to get all fields.
VariableNoTextcredentialVariable name to store the result

Output variables

VariableTypeDescription
{credential}String or ObjectThe credential value. Returns a string if a specific field is requested, or an object with all fields if no field is specified.

Errors

ErrorDescription
Credential not foundNo credential exists with the specified name
Decryption failedThe credential could not be decrypted, possibly due to a corrupted key

Tips

  • Use the field parameter to get just the password or token instead of the full credential object
  • Omit the field parameter to retrieve all fields as an object

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.