# SailPoint Delinea Secret Server (Cloud) - Secrets Manager Documentation > Delinea Secret Server (Cloud) - Secrets Manager Documentation # Documentation # Adding a New Credential Provider in SailPoint Create a new credential provider integration in SailPoint to automatically rotate refreshed authentication credentials for configured sources. To create a new credential provider: 1. Go to **Admin \> Connections \> Credential Providers**. 2. Select **Create New**. > **Screenshot** > > [![Credential Providers landing page with the Create New button highlighted]()]() 3. Search for the credential provider type and select **Configure**. > **Note** > > For a list of the available types of credential providers, as well as access to the documentation for each type, refer to the [Identity Security Connectors]() landing page. 4. Enter the following in the provided fields: - Enter a unique **Credential Provider Name** to help administrators differentiate it from others. - Enter a **Credential Provider Description**. - Select a **Credential Provider Owner** who is responsible for the credential provider's operations. - Select a **Virtual Appliance Cluster** with connectivity to the credential provider. 5. Select **Continue** to create the new credential provider with your selections. 6. (Optional) Enable credential caching. For more information, refer to [Caching Credentials](). # Configure a Source to Use a Credential Provider After you create a credential provider, you can begin configuring your sources to use it for authentication. When you use a credential provider in a source configuration, any authentication fields you need to configure allow you to use the credential provider or use static authentication credentials. To configure your source to use a credential provider: 1. In the source's **Base Configuration** tab, select **Use a Credential Provider**. > **Note** > > Enabling a credential provider in your connector adds an additional 30-second timeout for each connector operation. 2. Toggle every secret field in the configuration pages which should use the credential provider to **Credential Path**. The field changes to accept the secret path expression for the credential provider instead of the static value. > **Screenshot** > > **Static Value** > > [![Static Value field selected]()]() > > **Credential Path** > > [![Credential Path field selected]()]() 3. Enter the secret path expression for the credential provider into the **Credential Path** field. > [!NOTE] > > For a list of all available SailPoint credential provider path expressions, refer to [Credential Provider Secret Path Expressions](). # Configuring Delinea Secret Server (Cloud) - Secrets Manager ## Base Configuration Provide the base configuration parameters. Information you entered during the initial creation of the credential provider is automatically entered into the fields in the **Base Configuration** page. You can edit this information if necessary. > [!NOTE] > > **Screenshot** > > [![Base Configuration]()]() > [!NOTE] > > Ensure that the name and description of each credential provider is unique. 1. Go to **Admin \> Connections \> Credential Providers**. 2. Search for the credential provider you want to edit. 3. Enter a unique **Credential Provider Name**. 4. Enter a **Credential Provider Description** that provides details necessary to distinguish it from similar credential providers. 5. Select a **Credential Provider Owner** by typing the owner's name into the field provided. Matches display after you type at least two letters. Select the credential provider owner as required. 6. Select a **Virtual Appliance Cluster** with connectivity to the credential provider. For more information about configuring and deploying virtual appliances, refer to the [Virtual Appliance Reference Guide](). 7. Select **Save**. ## Connection Settings Configure the authentication parameters to connect to and authenticate with Delinea Secret Server (Cloud) - Secrets Manager. > [!NOTE] > > **Screenshot** > > [![Connection Settings]()]() To configure an authenticated connection: 1. Enter the **Host URL** for Delinea Secret Server (Cloud) - Secrets Manager. 2. Enter the **OAuth 2.0 Token URL** to request an access token. 3. Enter the **Username** and **Password** to authenticate with Delinea Secret Server (Cloud) - Secrets Manager. 4. (Optional) Enable credential caching. For more information, refer to [Caching Credentials](). 5. Select **Save**. # Caching Credentials SailPoint credential providers can save the credentials it receives from the systems they manage to cache. Cached credentials may expire after a period of time and need to be refreshed. Credential providers can't use expired credentials saved to cache. > [!NOTE] > > **Screenshot** > > [![Enable Credentials Caching checkbox]()]() To enable credential caching for credential providers: 1. Sign in to SailPoint. 2. Go to **Admin \> Connections \> Credential Providers**. 3. Search for the credential provider that you want to enable caching on and select its name. 4. Select **Edit Configuration**. 5. Select the **Enable Credentials Caching** checkbox. > **Note** > > The option to enable this feature may be in a different configuration tab depending on your selected credential provider. 6. Select **Save**. ## Credentials Expiration Depending on the managed system the credential provider is connected to, the credentials may have an expiration time limit. The credential provider uses the following hierarchy to determine expiration, with the highest priority first and the lowest priority last: 1. If the credentials received from the managed system contain an expiration time, then they are cached until that expiration time. 2. If the credentials received from the managed system don't contain an expiration time, then you can add one by configuring the `expirationTimeInSeconds` attribute in the source of credential provider using APIs. > **Note** > > For more information on SailPoint's REST APIs, refer to [Best Practices: REST API Authentication]() and [REST API - Update Source (Partial)]() in the SailPoint Developer Community. 3. If the credentials received from the managed system don't contain an expiration time and you don't create one via APIs, then by default the credentials expire after one day. # Delinea Secret Server (Cloud) - Secrets Manager Credential Provider The SailPoint Delinea Secret Server (Cloud) - Secrets Manager credential provider provides credential cycling functionality to fetch credentials from Delinea Secret Server (Cloud) to authenticate sources in SailPoint. This guide discusses how to configure and manage a connection to the Delinea Secret Server (Cloud) - Secrets Manager credential provider. For information on creating a new Delinea Secret Server (Cloud) - Secrets Manager credential provider, refer to [Adding a New Credential Provider in SailPoint](). ## Prerequisites Before you configure your credential provider, you must consider the following prerequisite items. - For VA-based Deep Governance connectors, the source and credential provider virtual appliances must be in the same cluster. - VA-based Deep Governance connectors, SaaS-based Deep Governance, Discovery, and Quick Compliance connectors now support the use of credential providers. ### Service Account Permissions The service account on the Delinea Secret Server (Cloud) system requires the following permissions to support the credential provider: - **View** permissions for the managed folders and secrets in the Delinea Secret Server (Cloud) system. ## Supported Platforms This credential provider supports the following platforms: - Delinea Secret Server Cloud (Standalone) # Delinea Secret Server (Cloud) - Secrets Manager Credential Provider Secret Path Expressions Use the path expressions listed in this topic to use the Delinea Secret Server (Cloud) - Secrets Manager credential provider in your source authentication configurations. ## Username Path syntax: `{Folder_path}/{secretKey}` **Before Encoding** Using Folder Name: ```text secrets://delinea-vault/folder1/cred/applicationName/directoryName/Username ``` > [!IMPORTANT] > > The URL path should always start with the prefix, `secrets://`. Each part of the URL should be URL-encoded. Each URL attribute in the path is case-sensitive. **After Encoding** After you encode the URL path, it should appear as follows: Using Folder Name: ```text secrets://delinea-vault/folder1%2Fcred%2FapplicationName%2FdirectoryName/Username ``` The following is an explanation of the attributes of this URL: - `delinea-vault` - Configured Credential Provider in the Credential Provider Section. - `folder1%2Fcred%2FapplicationName%2FdirectoryName` - Folder path. - `Username` - Secret Key which needs to be fetched from the Delinea Secret Server (Cloud) - Secrets Manager. > [!TIP] > > Use [urlencoder.org]() to encode your URL attributes. ## Password Path syntax: `{Folder_path}/{secretKey}` **Before Encoding** Using Folder Name: ```text secrets://CredentialProviderName/Folder 1\Folder 2\SecretName/Password ``` > [!IMPORTANT] > > The URL path should always start with the prefix, `secrets://`. Each part of the URL should be URL-encoded. Each URL attribute in the path is case-sensitive. **After Encoding** After you encode the URL path, it should appear as follows: Using Folder Name: ```text secrets://CredentialProviderName/Folder%201%5CFolder%202%5CSecretName/Password ``` The following is an explanation of the attributes of this URL: - `delinea-vault` - Configured Credential Provider in the Credential Provider Section. - `Folder%201%5CFolder%202%5CSecretName` - Folder path. - `Password` - Secret Key which needs to be fetched from the Delinea Secret Server (Cloud) - Secrets Manager. > [!TIP] > > Use [urlencoder.org]() to encode your URL attributes. ## Prefixes and Suffixes If any secret paths have a prefix or a suffix, you must append a query parameter to the secret path as follows: - To add a prefix - `?prefix=`. For example, if the secret value returned after evaluation is `LocalAdmin`, but the complete value required by the secret field is `DomainOne\LocalAdmin` then the secret path expression will be as follows to add the required prefix: ```text secrets://delinea-vault/folder1%2Fcred%2FapplicationName%2FdirectoryName/Username?prefix=DomainOne%5C ``` - To add a suffix - `?suffix=`. For example, if the secret value returned after evaluation is `localadministrator`, but the complete value required by the secret field is `localadminstrator@sp.com` then the secret path expression will be as follows to add the required suffix: ```text secrets://delinea-vault/folder1%2Fcred%2FapplicationName%2FdirectoryName/Username?suffix=%40sp.com ``` - To add a prefix and suffix - `?prefix=&suffix=`. For example, if the secret value returned after evaluation is `LocalAdmin`, but the complete value required by the secret field is `DomainOne\LocalAdmin@sp.com` then the secret path expression will be as follows to add the required prefix and suffix: ```text secrets://delinea-vault/folder1%2Fcred%2FapplicationName%2FdirectoryName/Username?prefix=DomainOne%5C&suffix=%40sp.com ``` > [!IMPORTANT] > > All input parameters must be encoded. Standard format for credential path: ```text secrets://{vault-name}/{folder path}/{secretKey}?prefix=someValue&suffix=someValue2 ``` > [!NOTE] > > The `prefix` and `suffix` are optional.