How to obtain User and Password for Azure Service Bus AMQP Access

How to obtain User and Password for Azure Service Bus AMQP Access

Overview:
This article describes how to obtain the necessary user name and password for AMQP (Advanced Message Queuing Protocol) authentication. The process involves using the namespace, shared access policy name, and access keys.

Steps to Obtain User and Password:
  1. Navigate to the Service Bus Namespace:
    1. Go to the Azure portal and navigate to your Service Bus namespace. In the screen capture below, the namespace is ssisplus.
                  

  1. Access the Shared Access Policies:
    1. Under your Service Bus namespace, click on Shared access policies.
    2. You should see a list of policies, as shown in the screenshot below. For example, two policies are listed highlighted yellow in the screen capture below:
      1. RootManageSharedAccessKey
      2. Tester
                  

            Each policy grants specific claims like Send, Listen, and Manage.

Select the Relevant Policy:
  1. Click on the desired policy to view its details. In this example, we use the Tester policy, which has the following claims: Send and Listen.
Obtain the User Name and Password:

User Name:
  1. The user name is shared access policy name (e.g) Tester.
Password:
  1. The password is either the Primary Key or the Secondary Key from the shared access policy. See below screen capture for reference.
            

Use the Credentials for AMQP Access:
  1. When configuring an AMQP client or connection string, use the obtained user name and password (primary or secondary key) to authenticate.
Configure AMQP Connection:

In COZYROC AMPQ Connection, input the details as shown in the example below:

  1. Host: <your-namespace>.servicebus.windows.net
  2. Scheme: AMQPS
  3. Username: <policy-name> (e.g., Tester)
  4. Password: <Primary or Secondary key>

Test Connection:

After configuring, click on the Test Connection button to verify that the settings work correctly.


Conclusion:
  1. By following these steps, you can derive the necessary user name and password to authenticate with Azure Service Bus using AMQP using COZYROC AMPQ Connection

Additional Resources:
  1. Azure Service Bus documentation
  2. AMQP protocol details for Azure Service Bus
If you have any further questions or need additional help with AMQP setup, feel free to contact support at our Help Desk.



    Book a Presales Call


    Are you new to COZYROC and evaluating our solutions? 
    Book a Presales Call with us now and get 5% off SSIS+.
      • Related Articles

      • How to setup a new SSIS IR with SSIS+ via the Azure web UI

        NOTE: COZYROC is not responsible for maintaining and supporting a customer's environment.  The intention of this KB article is to give the customer a step in the right direction for installation in Azure.  Further assistance may involve contacting ...
      • How to dynamically set a user parameter in a REST Connection.

        Create a REST Connection with a custom configuration to use for our example. Let’s start by creating a REST Connection configuration that has authentication with two user parameters. We will set their values dynamically from variables using an ...
      • Where can I find the documentation for the AMQP Connection?

        You can find documentation related to all the COZYROC SSIS+ Component Suite components from the main products page.  Specific documentation for the AMQP Connection can be found at the following link.  For many of the components you can find resources ...
      • How can I use a semicolon in a password?

        If you are seeing an error message with the words “Authentication was partially successful” or “Authentication failed”, then check your password. If there is a semicolon (;) in it, that is the reason for the error. The semicolon (;) symbol is a ...
      • Error Message: The process cannot access the file because it is being used by another process

        Action: While attempting to generate the token, the following error message is encountered. Error Message:  The process cannot access the file because it is being used by another process Solutions: You have to determine which application is keeping ...