Docs

Azure Integration

Learn how to integrate Azure with Cokpit

Azure Credentials

Step 1: Create Credentials on Azure

Example: Azure Service Principal

  1. Visit the Azure Portal.

  2. Navigate to Azure Active Directory → App registrations.

  1. Click New registration.
  1. Enter an application name and select the supported account types.
  2. Click Register.
  1. Note down the Application (client) ID and Directory (tenant) ID.

  2. Go to Certificates & secrets → New client secret.

  3. Add a description and select an expiration period.

  4. Copy the Value of the created secret immediately (you won't be able to see it again).

💡 Tip: Keep your client ID, tenant ID, and client secret safe. You'll need them for the next step.

Step 2: Add Azure Credentials to Cokpit

  1. Open Cokpit and go to Integrations → Cloud Provider → Azure.

  2. Click Add secret.

  3. Fill in the required fields:

    • Enter a unique Secret Name
    • Paste your Tenant ID
    • Set the Output Format (defaults to json)
    • Enter your Client ID
    • Paste your Client Secret
  4. Click Submit.

Security Best Practices

  • Use service principals with minimal required permissions
  • Implement proper Role-Based Access Control (RBAC)
  • Rotate client secrets regularly
  • Monitor Azure Activity Logs
  • Enable Azure AD security features