Setup Terraform Authentication
Auto-generated by
scripts/generate_docs.py— edit the action YAML, not this file.
Path: .github/actions/setup-auth-vars/
Type: composite action
Parses config JSON, sets ARM environment variables for the provider, and outputs OIDC credentials for Azure login.
Inputs
| Input | Required | Default | Description |
|---|---|---|---|
CONFIG_JSON |
yes | — |
The configuration as a JSON string from the fetch action. |
Outputs
| Output | Description |
|---|---|
client_id |
The Azure Service Principal Client ID for OIDC login. (from ${{ steps.set_vars.outputs.client_id }}) |
tenant_id |
The Azure Tenant ID for OIDC login. (from ${{ steps.set_vars.outputs.tenant_id }}) |
subscription_id |
The Azure Subscription ID for OIDC login. (from ${{ steps.set_vars.outputs.subscription_id }}) |
Steps
| Step | Detail
---|---|---
1 | Parse Config and Set Auth Variables | Script: config_json='${{ inputs.CONFIG_JSON }}' (id=set_vars)
Used By
Workflows that call this action:
azure-image-builder-infrastructurecoralogix-alert-setupmanagement-avdmanagement-runnermanagement-vpcmanagement-vpn
_📋Auto-Generated Documentation | Team: Azure Tooling | Generated by: AI Documentation Engine | Date: 2026-02-27 19:31 UTC _