Cloud integration using Delinea Secret Server - Cloud integration with Delinea Secret Server and Automation 360 helps manage important credentials safely. It also automates tasks, making Cloud environments more secure and efficient.

Automation 360

Cloud integration with Delinea Secret Server and Automation 360 helps manage important credentials safely. It also automates tasks, making Cloud environments more secure and efficient.

Before you begin

Before you start, make sure you have the following:

  • To set up Delinea Secret Server configuration, see Delinea Platform documentation. You will need the following information from Delinea:

    • To create the OAuth connection with Delinea Secret Server:
      • Token URL: This is the URL you use to get access tokens from Delinea Secret Server.
        • For the Delinea platform, the URL is: https://<>.delinea.app/identity/api/oauth2/token/xpmplatform .
        • For the Standalone Delinea Secret Server, the URL is: https://<secretserver>/oauth2/token
      • Scope: This is the scope needed by the Delinea issued tokens. For the Delinea platform, the scope is xpmheadless.
        • If the grant is client_credentials, we need the clientId and clientSecret of the service account.
        • If the grant is resource owner password, we need the username and password of the service account.
    • The service account in Delinea should have at least View access to the secrets in Delinea.
    • The Delinea Secret Server URL.
    • The Vault URL. For example: https://<yourvault>.secretservercloud.com.
    • Server certificate - PEM format . This is optional. It is required to provide secure TLS communication.
  • To configure the Automation 360 integration, the Control Room user should have Manage settings and Manage connections permission, or the user must be an Admin user.

Automation 360 configuration

This procedure helps you set up Automation 360 to work with Delinea Secret Server.
  • First, you set up the OAuth connection.
  • Then, you add the vault configuration.

Set up OAuth Connection

To Set up OAuth Connection using Client Credentials Flow grant type

Complete the following steps from the Create OAuth connection procedure.

  1. To set up the OAuth connection, navigate to Manage > OAuth Connections .
  2. Click Create Connection.
  3. From the Connection settings screen, enter the following:
    • Provider Type: Choose a provider type, like Custom or Apigee. If your OAuth provider type is not listed, you can select Custom.
    • Name: Enter a unique name, such as: Delinea-Test-Connection
    • Flow Type: Choose the Client Credentials Flow grant type for the Delinea platform with the Delinea Secret Server. Use the Client authentication method with either Basic or POST.
    • Client Id: Enter the Client Id as it appears in the Delinea server.
    • Client Secret: Enter the Client Secret as it appears in the Delinea server.
    • Token URL: OAuth 2.0 endpoint from Delinea (for example: https://<>.delinea.app/identity/api/oauth2/token/xpmplatform)
    • Scope: For example, if token is for a platform: xpmheadless
  4. Test the OAuth connection to make sure the configuration is correct.
  5. Save the OAuth connection.

To Set up OAuth Connection using Resource Owner Password grant type

Complete the following steps from the Create OAuth connection procedure.

  1. To set up the OAuth connection, navigate to Manage > OAuth Connections .
  2. Click Create Connection.
  3. On the Connection settings screen, do the following:
    • Flow Type: Select the Resource Owner Password Flow grant type. Choose the Client authentication method: Client Authentication Secret POST.
    • Scope: This is optional.
    • Enter the username and password for the service user who can access the secret.
  4. Click Save login credentials.
  5. Test the OAuth connection to make sure the configuration is correct.
  6. Save the OAuth connection.

Once successful, configure the Delinea Secret Server vault configuration and select the created OAuth connection.

Refresh Token management

When you connect with Delinea Secret Server using the OAuth2 password grant flow, the Automation 360Control Room safely keeps the refresh tokens it gets during authentication.

Key considerations:
  • Refresh Token Expiry: Make sure the time before the access token and refresh token expire is long enough for your needs. If you have bots that run for a long time or many bots running at once, a short expiry time might cause unexpected authentication problems.
  • Allowed Number of Refresh Tokens: Delinea Secret Server might limit how many refresh tokens a user or client can have. If you refresh tokens too often and go over this limit, it can cause token refresh failures. leading to automation problems.
  • Idle Periods: If the OAuth connection is not used for a long time (like when no bots are running), the refresh token might expire. In such case, reset the existing OAuth connection.
Recommendations:
  1. Set the access token expiry, refresh token expiry, and allowed token refresh count in Delinea Secret Server to fit your needs.
  2. If the access token or refresh token expires, the only way to make the OAuth connection work again is to reset the existing OAuth connection and re-authenticate using the username and password.

Configure Delinea Secret Server vault

Procedure
Note: In Automation 360 v.41 and later, external vault configuration is available through only one of the following paths, depending on the features enabled for your environment:
  • If the Manage > External Vault option is visible, configure external vault using this flow. This flow supports configuring external vault connection in environments that use one or more external vaults.
  • If not, configure external vault using Administration > Settings > External key vault.
  1. Log in to the Automation 360 Control Room with the required permissions.
  2. Do one of the following based on the navigation path visible to you:
    • Navigate to Administration > Settings > External key vault and click the Edit icon.

      Administration path

    • Navigate to Manage > External Vault > Vaults and click the Add Vault, Add or + icon.

      Manage path

  3. Select the Delinea secret server.
  4. Enter the Vault URL (for example: https://<yourvault>.secretservercloud.com).
  5. Select the OAuth connection name from drop-down list.
  6. The default HTTP header name is Authorization.
  7. (Optional) Enter the Server certificate - PEM format (optional) used to provide secure TLS communication.
  8. Click Save changes or Add Vault to save the vault configuration.