Skip to content

Commit

Permalink
test federated credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
ldennington committed Sep 29, 2023
1 parent ac0b264 commit c789304
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test-flow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run Azure Login with OpenID Connect
on: workflow_distpatch:

permissions:
id-token: write
contents: read

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 }}

- name: 'Run Azure CLI commands'
run: |
az account show
az group list
pwd

0 comments on commit c789304

Please sign in to comment.