azure/Azure Login
Authenticate to Azure and run your Azure CLI or Azure PowerShell based actions or scripts.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| creds | Paste output of `az ad sp create-for-rbac` as value of secret variable: AZURE_CREDENTIALS | no | — |
| client-id | ClientId of the Azure Service principal created. | no | — |
| tenant-id | TenantId of the Azure Service principal created. | no | — |
| subscription-id | Azure subscriptionId | no | — |
| enable-AzPSSession | Set this value to true to enable Azure PowerShell Login in addition to Azure CLI login | no | false |
| environment | Name of the environment. Supported values are azurecloud, azurestack, azureusgovernment, azurechinacloud, azuregermancloud. Default being azurecloud | no | azurecloud |
| allow-no-subscriptions | Set this value to true to enable support for accessing tenants without subscriptions | no | false |
| audience | Provide audience field for access-token. Default value is api://AzureADTokenExchange | no | api://AzureADTokenExchange |
| auth-type | The type of authentication. Supported values are SERVICE_PRINCIPAL, IDENTITY. Default value is SERVICE_PRINCIPAL | no | SERVICE_PRINCIPAL |
Outputs
no outputs