Configure Secret Cache Time (Optional)

The configure secret cache time steps are optional.

The SecretServer.SecureStore plugin supports in-memory secret caching for faster response times. The cache stores secrets for 5 minutes by default but can be configured for a different time.

How To Configure Secret Expiration Time in Units Other Than Minutes

  1. Add the following code in UiPath.Orchestrator.dll.config, found in the UiPath Orchestrator install directory under configSections.

    <section name="SecureStoreSetting" type="System.Configuration.NameValueSectionHandler"/>

  1. Add the following code under the Configuration section and change values as per the requirement. If the SecureStoreSetting section already exists, add only the SecretExpirationTime attribute.

    <SecureStoreSetting>

    <add key="SecretExpirationTime" value="0" />

    </SecureStoreSetting>

The SecretExpirationTime value determines how long secrets retrieved from the secure store are cached by UiPath Orchestrator. Setting the value to 0 minutes, disables caching entirely, causing secrets to be fetched from the secure store every time they are requested.