Task Queue Connection

On the Task Queue Connection page, you enter information to provide Keyfactor Command with the necessary information to communicate with your instance of RabbitMQ. This information is generally configured during your initial Keyfactor Command configuration, but it may be configured or modified here.

Important:  If you make changes to the task queue configuration, a restart of the web server and Keyfactor Command services on the Keyfactor Command server is required to clear any cached data and complete the change.
Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:

System Settings > Read
System Settings > Modify

To configure or modify the task queue connection information:

  1. In the Management Portal, browse to System Settings Icon > Task Queue Connection.
  2. On the Task Queue Connection page in the Login Type dropdown, select either Basic (username and password) or OAuth. The remaining fields will vary depending on the selection you make here.
  3. In the Task Queue URL, enter the amqp or amqps URL to the RabbitMQ instance. For example:

    amqps://appsrvr12.keyexample.com

    Keyfactor strongly recommends that if you choose the Basic option, you connect to RabbitMQ over a secure channel (amqps).

  4. If you selected Basic, click Set Password, and in the Password dialog, choose from ClosedLoad from Keyfactor Secrets or ClosedLoad From PAM Provider.

  5. If you selected OAuth, enter the following information:

    • Client Id

      The client you created in your OAuth identity provider to authenticate to your RabbitMQ instance. If you’re using Keyfactor Identity Provider, see Service Accounts for help creating a client account.

    • Token URL

      Set this to the URL of the token endpointClosed An endpoint is a URL that enables the API to gain access to resources on a server. for your OAuth identity provider. For example:

      https://my-keyidp-server.keyexample.com/realms/Keyfactor/protocol/openid-connect/token
    • Client Secret

      The secret of the client you created in your OAuth identity provider to authenticate to your RabbitMQ instance. Click the Set/Update Client Secret button and in the Client Secret dialog, choose from ClosedLoad from Keyfactor Secrets or ClosedLoad From PAM Provider.

    • Scope

      One or more scopes that should be included in token requests delivered to your OAuth identity provider. This is not required when using Keyfactor Identity Provider.

    • Audience

      Specify an audience value to be included in token requests delivered to your OAuth identity provider. This is not required when using Keyfactor Identity Provider.

      Figure 443: CA OAuth Task Queue Connection

  6. Click Save to save any changes. Click Test to validate that the entered information can be used to make a connection to RabbitMQ.