koalaops/KoalaOps / login-azure-aks
Login to Azure via SP (secret or OIDC) or Managed Identity, with optional AKS kubecontext and ACR login.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| subscription_id | Azure subscription ID | yes | — |
| resource_group | Azure resource group containing the AKS cluster | no | — |
| cluster_name | AKS cluster name (to configure kubecontext) | no | — |
| client_id | Azure Service Principal client ID (set with tenant_id; omit client_secret for OIDC) | no | — |
| client_secret | Azure Service Principal client secret (set to use SP secret auth) | no | — |
| tenant_id | Azure tenant ID (required for SP auth/ OIDC) | no | — |
| enable_acr_login | Whether to login to ACR (true/false) | no | false |
| acr_registry | ACR registry name (e.g., 'myacrname'), required if enable_acr_login=true | no | — |
Outputs
| name | description |
|---|---|
| subscription_id | Resolved subscription ID |
| kubectl_context | Current kubectl context (if configured) |
| registry_url | ACR registry URL if login was requested |