> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usebruno.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Azure CLI Authentication

Azure CLI authentication feature allows you to authenticate with Azure Key Vault using your existing Azure CLI session, without requiring manual entry of Tenant ID, Client ID, or Client Secret in Bruno.

## Prerequisites

1. **Azure CLI Installation**: Ensure Azure CLI is installed on your system
2. **Azure CLI Authentication**: Log in to Azure CLI using `az login`
3. **Key Vault Access**: Ensure your Azure account has access to the target Key Vault

## Setup Instructions

### Step 1: Install and Configure Azure CLI

1. Install Azure CLI from [Microsoft's official website](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
2. Open terminal/command prompt and run:
   ```bash theme={null}
   az login
   ```
3. Follow the browser-based authentication process

### Step 2: Configure Secrets

1. Navigate to the **Secrets** tab in your collection
2. Click on **Select Provider** and select **Azure Key Vault** from dropdown.

<img src="https://mintcdn.com/bruno-a6972042/bKrHa_JvyAqCslj1/images/screenshots/secret-variables/azure-key-vault/3-select-azure-vualt-collection.webp?fit=max&auto=format&n=bKrHa_JvyAqCslj1&q=85&s=64484f7b47486e2d4c8260d412a0b40f" alt="Select Azure Key Vault Provider" width="2468" height="882" data-path="images/screenshots/secret-variables/azure-key-vault/3-select-azure-vualt-collection.webp" />

3. In the **EDIT PROVIDER** dialog:
   * Click **+ Add Secret**
   * Enter the **Name** for your secret
   * Enter the **Vault Name** (your Azure Key Vault name)

<img src="https://mintcdn.com/bruno-a6972042/MFEbYs75EK0H0fUz/images/screenshots/secret-variables/azure-key-vault/2-azure-dialog-box.webp?fit=max&auto=format&n=MFEbYs75EK0H0fUz&q=85&s=3dc21204443c121b915194065ea9d6ce" alt="Azure Key Vault Dialog Box" width="2658" height="1128" data-path="images/screenshots/secret-variables/azure-key-vault/2-azure-dialog-box.webp" />

4. Click on **Save** button.

### Step 3: Fetch Secrets

1. Click **Fetch Secrets** to retrieve secrets from Azure Key Vault
2. In the **FETCH AZURE SECRETS** dialog:
   * Select the **CLI** tab
   * Click **Test CLI** to verify authentication
   * Click **Fetch** to retrieve secrets

<img src="https://mintcdn.com/bruno-a6972042/bKrHa_JvyAqCslj1/images/screenshots/secret-variables/azure-key-vault/3-test-cli.webp?fit=max&auto=format&n=bKrHa_JvyAqCslj1&q=85&s=dce0cbee0410fbf14753bb9ed16b6dcf" alt="Test CLI Authentication" width="2468" height="882" data-path="images/screenshots/secret-variables/azure-key-vault/3-test-cli.webp" />

3. If successful, you'll see secrets fetched in the **Secrets** tab.

Bruno Azure CLI authentication for Azure Key Vault integration, eliminating the need to store credentials locally and providing a more secure authentication method.
