Skip to content

Releases: Azure/login

Handling id-token error and Node version upgradation

21 Jun 11:17
24848bc
Compare
Choose a tag to compare

In this release, a separate error will be thrown if id-token permissions are not set in the workflow for OIDC login. Also upgraded the Node version to 16.

Handling warnings and added OIDC promotional note.

02 May 14:20
ec3c145
Compare
Choose a tag to compare

Added az installation requirement in the error response

19 Jan 17:33
1f63701
Compare
Choose a tag to compare
Adding az installation requirement to login error response (release P…

…R) (#199)

* Update main.ts

* Update main.js

Added federated token details in logs

07 Dec 06:46
66d2e78
Compare
Choose a tag to compare

Displaying OIDC token details - subject claim and issuer in the logs.

Added audience parameter and CLI,PS logs

15 Nov 12:18
Compare
Choose a tag to compare

An explicit input parameter called audience is added to allow the option provided in the azure portal. Also CLI and powershell errors are being surfaced inside the action.

Added OIDC support

22 Oct 13:20
154d5e5
Compare
Choose a tag to compare
Pre-release

Login Action now supports two different ways of authentication with Azure. One using the Azure Service Principal with secrets. We now added the new OpenID Connect (OIDC) method of authentication using Azure Service Principal with a Federated Identity Credential.

Adding Azure PowerShell login changes

15 Jun 09:06
6786a47
Compare
Choose a tag to compare

With the Azure login Action, you can automate your workflow to do an Azure login using Azure service principal and run Az CLI and Azure PowerShell scripts.

By default, only az cli login will be done. In addition to az cli, you can login using Az module to run Azure PowerShell scripts by setting enable-AzPSSession to true.

Sample workflow that uses Azure login action to run az cli

# File: .github/workflows/workflow.yml

on: [push]

name: AzurePowerShellSample

jobs:

  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
    
    - name: Login via Az module
      uses: azure/login@v1.1
      with:
        creds: ${{secrets.AZURE_CREDENTIALS}}
        enable-AzPSSession: true 
    
    - name: Run Az CLI script
      run: |
        az webapp list --query "[?state=='Running']"
   
    - name: Run Azure PowerShell script
      uses: azure/powershell@v1
      with:
        inlineScript: |
          Get-AzVM -ResourceGroupName "ActionsDemo"
          azPSVersion: '3.1.0'

License

GitHub Action for Azure Web App is licensed under the MIT License