| name | azure |
| description | Opt-in Azure profile only — common Azure CLI patterns for auth, infrastructure, and operational checks. |
Skill: azure
Opt-in profile: this skill only applies to installs running on Azure (Key Vault / Terraform profile). Local/Docker-only installs have no Azure resources.
Common Azure CLI patterns. Use these patterns consistently.
Never use Azure CLI to manage secrets directly — use the get-secret skill.
Authentication
az account show
az login
az account set -s ${IRIS_AZURE_SUBSCRIPTION}
Key Vault (seeding only — reading uses get-secret skill)
az keyvault secret set \
--vault-name "$IRIS_KEY_VAULT" \
--name "SECRET-NAME" \
--value "secret-value"
az keyvault secret list \
--vault-name "$IRIS_KEY_VAULT" \
--query "[].name" -o tsv
Resource discovery
az vm list -g "${IRIS_RESOURCE_GROUP:-iris-rg}" --query "[].{name:name, ip:publicIps}" -o table
az container list -g "${IRIS_RESOURCE_GROUP:-iris-rg}" -o table
az network public-ip show -g "${IRIS_RESOURCE_GROUP:-iris-rg}" -n iris-pip --query ipAddress -o tsv
Docker on VM (via SSH)
ssh iris@$(az network public-ip show -g "${IRIS_RESOURCE_GROUP:-iris-rg}" -n iris-pip --query ipAddress -o tsv) \
"docker ps"
ssh iris@<IP> "docker logs --tail 50 iris"
Notes
- Subscription ID:
${IRIS_AZURE_SUBSCRIPTION}
- Resource group:
${IRIS_RESOURCE_GROUP} (default iris-rg)
- Never call
az keyvault secret show to read secrets — use get-secret skill
- Always use managed identity for VM-to-Azure auth where possible