Skip to content

Commit a841b64

Browse files
authored
Merge pull request #100045 from tjsullivan1/patch-11
Fixed inconsistency in resource group name var
2 parents ab35ecc + a5b6a59 commit a841b64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/aks/csi-secrets-store-identity-access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Azure AD workload identity (preview) is supported on both Windows and Linux clus
4343
az account set --subscription $subscriptionID
4444
az identity create --name $UAMI --resource-group $resourceGroupName
4545
export USER_ASSIGNED_CLIENT_ID="$(az identity show -g $resourceGroupName --name $UAMI --query 'clientId' -o tsv)"
46-
export IDENTITY_TENANT=$(az aks show --name $clusterName --resource-group $RG --query aadProfile.tenantId -o tsv)
46+
export IDENTITY_TENANT=$(az aks show --name $clusterName --resource-group $resourceGroupName --query aadProfile.tenantId -o tsv)
4747
```
4848
4949
2. You need to set an access policy that grants the workload identity permission to access the Key Vault secrets, access keys, and certificates. The rights are assigned using the `az keyvault set-policy` command shown below.
@@ -88,7 +88,7 @@ Azure AD workload identity (preview) is supported on both Windows and Linux clus
8888
8989
```bash
9090
export federatedIdentityName="aksfederatedidentity" # can be changed as needed
91-
az identity federated-credential create --name $federatedIdentityName --identity-name $UAMI --resource-group $RG --issuer ${AKS_OIDC_ISSUER} --subject system:serviceaccount:${serviceAccountNamespace}:${serviceAccountName}
91+
az identity federated-credential create --name $federatedIdentityName --identity-name $UAMI --resource-group $resourceGroupName --issuer ${AKS_OIDC_ISSUER} --subject system:serviceaccount:${serviceAccountNamespace}:${serviceAccountName}
9292
```
9393
5. Deploy a `SecretProviderClass` by using the following YAML script, noticing that the variables will be interpolated:
9494

0 commit comments

Comments
 (0)