Skip to content

Commit 98e791c

Browse files
Refactor Azure CLI login step to use a single creds JSON string for authentication
1 parent f7a84e8 commit 98e791c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/gp-test-automation.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ jobs:
3636
- name: Azure CLI Login
3737
uses: azure/login@v2
3838
with:
39-
client-id: ${{ secrets.AZURE_CLIENT_ID }}
40-
client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
41-
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
42-
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
39+
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
4340

4441
- name: Start AKS
4542
id: start-aks

0 commit comments

Comments
 (0)