# Get Secret

> `UiPath.Core.Activities.GetSecret`

`UiPath.Core.Activities.GetSecret`

## Description

Gets a specified **[Orchestrator secret asset](https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/about-assets)** by using a provided **Secret asset name**. If the secret asset is not global, it must be assigned to the local robot in order to be retrieved. The activity uses the same authentication context as the Robot under which it runs. For more information about global assets, you can access **[About Assets](https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/about-assets)**.

## Project compatibility

**Windows | Cross-platform**

## Windows, Cross-platform Configuration

* **Orchestrator folder path** - [The path of the folder](https://docs.uipath.com/orchestrator/docs/folders) where the secret asset is located 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"`.
* **Secret asset name** - The name of the secret asset to be retrieved. Selecting **Manage assets** redirects you to the **Assets** page of the connected Orchestrator instance.

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

<sup>2</sup>For 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**

#### **Misc**

* **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).

**Output**
* **Secret** - Reference to the retrieved secret asset.
