activities
latest
false
UiPath logo, featuring letters U and I in white

Workflow Activities

Last updated Oct 10, 2025

Set Secret

UiPath.Core.Activities.SetSecret

Description

Enables you to update the value of an indicated secret asset, which is already available in Orchestrator, be it a global or a Per Robot secret asset. Please note that to execute this activity, the Robot role needs to have Edit permissions on assets. When the UiPath.Core.Activities.SetSecret is triggered, the authentication context of the Robot under which it runs is being used.

For more information about Global and Per Robot assets, see steps 5 and 6 from this page.

Project compatibility

Windows | Cross-platform

Windows, Cross-platform Configuration

  • Orchestrator folder path - The path of the folder where the secret asset is located, 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".
  • Secret asset Name - The name of the secret asset to be updated. Selecting Manage assets redirects you to the Assets page of the connected Orchestrator instance.
  • Secret - The new value you want the secret asset to have. This property cannot be empty.

1For cross-platform projects created in Studio Web as part of a solution, the Orchestrator folder path field is unavailable.

2For cross-platform projects created in Studio Web as part of a solution, the name field provides options to Define new Orchestrator resources, such as queues, assets, or storage buckets, during design time, or Open Orchestrator for resource management.

Additional options

Others

  • Timeout (milliseconds) - 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).
  • Continue on error - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (true, false). The default value is false. As a result, if the field is not configured and an error is thrown, the execution of the project stops. If the value is set to true, the execution of the project continues regardless of any error.
  • Description
  • Project compatibility
  • Windows, Cross-platform Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.