# Azure

### **For Azure as Your Cloud Service Provider**

If you've selected Azure as your cloud service provider, you'll require the following credentials: Azure Subscription ID, Azure Tenant ID, Azure Client ID, and Azure Client Secret.

To obtain these credentials, follow the steps below:

**Step 1: Create an Azure Account**

If you don't already have an Azure account, create one by following the instructions provided on the Azure website.

**Step 2: Install Azure CLI**

If you already have an Azure account, proceed to install Azure CLI on your local system. You can look into [steps to install azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) for further information.&#x20;

**Step 3: Authenticate Azure CLI**

Run Azure CLI in your terminal and authenticate the CLI by using the command&#x20;

```
az login
```

**Step 4: Copy Azure Subscription ID**

Navigate to your Azure dashboard and copy the subscription ID.

A user can navigate to the subscriptions tab as highlighted and access their subscription ID.&#x20;

<figure><img src="https://567219628-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUprpKTgBFp8sG1IoUvh5%2Fuploads%2FgBLSvfypH91JdeUk2ZN1%2FScreenshot%202023-07-28%20at%203.52.00%20PM.png?alt=media&#x26;token=922469e8-f59a-41fc-be4a-b418a5d1a0d2" alt=""><figcaption><p>Azure dashboard.</p></figcaption></figure>

**Step 5: Set Subscription ID**

Run the following command in your terminal, replacing `"SUBSCRIPTION_ID"` with your actual subscription ID:

```
az account set --subscription="SUBSCRIPTION_ID"
```

**Step 6: Create New Service Principal**

Create a new service principal with 'Contributor' role using the following command, again replacing `"SUBSCRIPTION_ID"` with your actual subscription ID:

```
az ad sp create-for-rbac --role="Contributor" \
--scopes="/subscriptions/SUBSCRIPTION_ID"
```

**Step 7: Collect Your Credentials**

The command executed in step 6 will return several values including `appId`, `displayName`, `password`, and `tenant`.

In this context, `appId` is your Azure "Client ID", `tenant` is your Azure "Tenant ID", and `password` is your Azure "Client Secret".

Please be sure to save these values safely as they will be needed to create an instance in Neverinstall.
