Creating a Cloudbreak Credential on Azure
Also available as:

Create an interactive credential

Follow these steps to create an interactive credential.

The following video demonstrates how to create an interactive credential on Azure:


Your account must have the Owner role in order for the interactive credential creation to work. If your account does not have the Owner role, you must use the app-based credential option instead of the interactive option.


  1. In the Cloudbreak web UI, select Credentials from the navigation pane.
  2. Click Create Credential.
  3. Under Cloud provider, select “Microsoft Azure”.
  4. Select Interactive Login.
  5. Provide the following information:
    Parameter Description
    Name Enter a name for your credential.
    Description (Optional) Enter a description.
    Subscription Id Copy and paste the Subscription ID from your Subscriptions.
    Tenant Id Copy and paste your Directory ID from your Active Directory > Properties.
    Azure role type You have the following options:
    • “Use existing Contributor role” (default): If you select this option, Cloudbreak will use the Contributor role to create resources. This requires no further input.
    • “Reuse existing custom role”: If you select this option and enter the name of an existing role, Cloudbreak will use this role to create resources.
    • “Let Cloudbreak create a custom role”: If you select this option and enter a name for the new role, the role will be created. When choosing role name, make sure that there is no existing role with the name chosen. For information on creating custom roles, refer to Azure documentation.
    If using a custom role, use the following role definition, which includes the minimum necessary action set for Cloudbreak to be able to manage clusters.

    To obtain the Subscription Id:

    To obtain the Tenant ID (actually Directory Id):

  6. After providing the parameters, click Interactive Login.
  7. Copy the code provided in the UI:

  8. Click Azure login and a new Device login page will open in a new browser tab:
  9. Next, paste the code in field on the Device login page and click Continue.
  10. Confirm your account by selecting it:

  11. A confirmation page will appear, confirming that you have signed in to the Microsoft Azure Cross-platform Command Line Interface application on your device. You may now close this window.

    Now that you have created a credential, you can start creating clusters.