login

Connect to Azure

MIT License

Stars
300
Committers
43

Bot releases are hidden (Show)

login - Azure Login Action v2.2.0 Latest Release

Published by YanaXu 29 days ago

What's Changed

New Contributors

Full Changelog: https://github.com/Azure/login/compare/v2.1.1...v2.2.0

login - v2.1.1

Published by YanaXu 5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/Azure/login/compare/v2.1.0...v2.1.1

login - Azure Login Action v2.1.0

Published by MoChilia 6 months ago

What's Changed

Full Changelog: https://github.com/Azure/login/compare/v2.0.0...v2.1.0

login - Azure Login Action v2

Published by MoChilia 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/Azure/login/compare/v1.6.1...v2

login - Azure Login Action v1.6.1

Published by MoChilia 9 months ago

  • Fix #403: Do not break the workflow if az is not installed in pre and post steps
login - Azure Login Action v1.6.0

Published by MoChilia 9 months ago

  • Added pre: and post: action for cleaning up (#384)
login - Azure Login Action v1.5.1

Published by MoChilia 11 months ago

  • Fixed #371: Allow optional subscriptionId in creds (#373)
  • Cleaned accounts before login (#376, #377)
  • Updated actions-secret-parser from 1.0.2 to 1.0.4 (#378)
login - Azure Login Action v1.5.0

Published by YanaXu 11 months ago

  • Updated the versions of dependencies.
  • Supported passwords to start with hyphen(-).
  • Enabled OIDC for sovereign clouds.
  • Supported Managed Identity Login.
login - [BUG FIX] Version pattern regex update

Published by BALAGA-GAYATRI about 2 years ago

login - Handling id-token error and Node version upgradation

Published by BALAGA-GAYATRI over 2 years ago

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.

login - Handling warnings and added OIDC promotional note.

Published by BALAGA-GAYATRI over 2 years ago

Error handling and minor doc changes.

login - Added az installation requirement in the error response

Published by BALAGA-GAYATRI over 2 years ago

login - Added federated token details in logs

Published by BALAGA-GAYATRI almost 3 years ago

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

login - Added audience parameter and CLI,PS logs

Published by BALAGA-GAYATRI almost 3 years ago

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.

login - Added OIDC support

Published by kanika1894 almost 3 years ago

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.

login - Adding Azure PowerShell login changes

Published by aksm-ms over 4 years ago

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/[email protected]
      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

login - GitHub Action for Azure Login

Published by N-Usha almost 5 years ago

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

Sample workflow that uses Azure login action using OIDC to run az cli


# File: .github/workflows/OIDC_login.yml

on: [push]

name: AzureLoginSample

jobs:

  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
    
    - name: 'Az CLI login'
        uses: azure/login@v1
        with:
          client-id: ${{ secrets.AZURE_CLIENT_ID }}
          tenant-id: ${{ secrets.AZURE_TENANT_ID }}
          subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
    
    - run: |
        az webapp list --query "[?state=='Running']"

License

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

Package Rankings
Top 9.09% on Proxy.golang.org
Top 0.4% on Github actions
Related Projects