Help Centre › Credentials & Connections
This article describes the RPA Vault functionality to check if a credential exists.
For a full list of available functions, please read VAULT functions.
Description
The Check credential exists function checks whether a credential with the given name exists in the vault. Returns a boolean value.
Setting it up
To use the Check credential exists function, follow these instructions:
{{popups:rpas/add:action=vault-exists}}
Once on a process map:
- Navigate to the process where you would like to add the Check credential exists function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the VAULT Check credential exists option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Name | Yes | Text | - | The name of the credential to check |
| Variable | No | Text | exists | Variable name to store the result |
Output variables
| Variable | Type | Description |
|---|---|---|
| {exists} | Boolean | True if the credential exists, false otherwise |
Errors
This action does not produce errors.
Tips
- Check if a credential exists before attempting to retrieve it with vault-get
- Use in conditional logic to handle missing credentials gracefully