Skip to content

Commit b3b1e85

Browse files
johnmathewsclaude
andcommitted
Fix azure/login: pass creds JSON with client secret
Without client-secret, azure/login assumes OIDC federated auth which requires id-token write permissions. Use creds JSON format instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7cce699 commit b3b1e85

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ jobs:
2323
- name: Log in to Azure
2424
uses: azure/login@v2
2525
with:
26-
client-id: ${{ secrets.ACR_CLIENT_ID }}
27-
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
28-
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
29-
enable-AzPSSession: false
26+
creds: '{"clientId":"${{ secrets.ACR_CLIENT_ID }}","clientSecret":"${{ secrets.ACR_CLIENT_SECRET }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}"}'
3027

3128
- name: Set AKS context
3229
run: |

0 commit comments

Comments
 (0)