UiPath Activities

The UiPath Activities Guide

Get Credential

UiPath.Core.Activities.GetRobotCredential

Gets a specified Orchestrator credential by using a provided AssetName, and returns a username and a secure password. For more information about credential assets, see About Assets.
The activity uses the same authentication context as the Robot under which it runs.

Properties

Output

  • Username - The username of the retrieved credential.
  • Password - The secure password of the retrieved credential.

Input

  • AssetName - The name of the credential to be retrieved.

Common

  • DisplayName - The display name of the activity.
  • TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).

Misc

  • FolderPath - The path of the folder where the credential asset is stored and must be retrieved from, if different from the folder where the process is running. This field only supports string values, with / as the separator to indicate subfolders. For example "Finance/Accounts Payable".

Note:

The FolderPath parameter does not work for processes executed by robots in classic folders. Only robots in modern folders have the ability to pass data outside of their folder.

Relative folder paths are supported in an X-UIPATH-FolderPath-Encoded header, as follows:
Path starting with / - starts from the root folder of the tree the ambient folder is part of.
Path starting with . - starts from the ambient folder.
Path starting with .. - starts one level up in the hierarchy of the ambient folder for each .. in the path (e.g. ../ for one level up, ../../ for two levels up in the hierarchy).

Note that trailing slashes are not accepted.

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Updated 4 days ago


Get Credential


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.