Skip to content

Commit 2f1f52f

Browse files
Copilotaramase
andauthored
docs: Fix undefined SERVICE_ACCOUNT_ISSUER variable in workload identity documentation (#1901)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: aramase <10608509+aramase@users.noreply.github.com>
1 parent d7d8d3f commit 2f1f52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/content/en/configurations/identity-access-modes/workload-identity-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Get the AKS cluster OIDC issuer URL:
117117

118118
```bash
119119
# Output the OIDC issuer URL
120-
az aks show --resource-group <resource_group> --name <cluster_name> --query "oidcIssuerProfile.issuerUrl" -otsv
120+
export SERVICE_ACCOUNT_ISSUER=$(az aks show --resource-group <resource_group> --name <cluster_name> --query "oidcIssuerProfile.issuerUrl" -otsv)
121121
```
122122

123123
> If the URL is empty, ensure the oidc issuer is enabled in the cluster by following these [steps](https://learn.microsoft.com/en-us/azure/aks/cluster-configuration#oidc-issuer).

0 commit comments

Comments
 (0)