login icon indicating copy to clipboard operation
login copied to clipboard

Support for Scope Level Configuration

Open htekdev opened this issue 2 years ago • 0 comments

Support for using scope-level

Capability has been added to support access to the different scope levels (subscription, managementgroup, or tenant) for both OIDC and non-OIDC. This can be useful if you need to target a particular management group and actually if scope level is tenant its the same as having allow-no-subscription enabled

# File: .github/workflows/workflow.yml

on: [push]

name: AzureLoginWithNoSubscriptions

jobs:

  build-and-deploy:
    runs-on: ubuntu-latest
    steps:

    - uses: azure/login@v1
      with:
        creds: ${{ secrets.AZURE_CREDENTIALS }}
        scope-level: 'managementgroup'

htekdev avatar May 19 '23 13:05 htekdev