From b4a959b8bd37736aecac587362470602679d48a2 Mon Sep 17 00:00:00 2001 From: Balaga Gayatri Date: Wed, 22 Jun 2022 12:42:23 +0530 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 092d412b..fe8f2e4d 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,7 @@ Follow the steps to configure Azure Service Principal with a secret: * Note: The above `az ad sp create-for-rbac` command will give you the `--sdk-auth` deprecation warning. As we are working with CLI for this deprecation process, we strongly recommend users to use this `--sdk-auth` flag as the result dictionary output changes and not accepted by login action if `--sdk-auth` is not used. * If you want to pass Subscription ID, Tenant ID, Client ID, and Client Secret as individual parameters instead of bundling them in a single JSON object (creds) for Non-OIDC login, below snippet can help with the same. ```yaml - - uses: Azure/login@v1.1 + - uses: Azure/login@v1 with: creds: '{"clientId":"${{ secrets.CLIENT_ID }}","clientSecret":"${{ secrets.CLIENT_SECRET }}","subscriptionId":"${{ secrets.SUBSCRIPTION_ID }}","tenantId":"${{ secrets.TENANT_ID }}"}' ```