Skip to content

Instantly share code, notes, and snippets.

@xximjasonxx
Created July 14, 2023 02:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xximjasonxx/19f23e33e267cfc0f4161b30bff86430 to your computer and use it in GitHub Desktop.
Save xximjasonxx/19f23e33e267cfc0f4161b30bff86430 to your computer and use it in GitHub Desktop.
az identity federated-credential create
--name "kubernetes-federated-credential"
--identity-name $USER_ASSIGNED_IDENTITY_NAME
--resource-group $RESOURCE_GROUP
--issuer $AKS_OIDC_URL
--subject "system:serviceaccount:${SERVICE_ACCOUNT_NAMESPACE}:${SERVICE_ACCOUNT_NAME}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment