az CLI and other Azure SDK tools on your behalf. By configuring service principal credentials, your agent can manage cloud resources, deploy applications, and query cloud state.
Features
- Resource Management: Create, list, and manage Azure resources (Virtual Machines, Storage Accounts, SQL Databases, etc.).
- App Services & Functions: Deploy and monitor serverless and web applications.
- Active Directory (Entra ID): Manage users, groups, and service principals.
- Kubernetes: Interact with AKS clusters.
Prerequisites
To use this integration, you need:- The Azure CLI (
az) installed on your machine. - An Azure Service Principal with the necessary roles (e.g., Contributor) for the tasks you want to perform.
Configuration
You can configure the Azure integration by providing your service principal credentials.Step 1: Migration
When you run the xCommand CLI, it will automatically update your~/.xcommand/config.json with placeholder fields:
Step 2: Authentication
Fill in your service principal details:AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_TENANT_ID, and AZURE_SUBSCRIPTION_ID environment variables and attempt an az login for the service principal.