Skip to content

Instantly share code, notes, and snippets.

@BenjaminHerbert
Created November 26, 2019 14:54
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 BenjaminHerbert/0275abbee35aa9b42f7a8b9fb890349b to your computer and use it in GitHub Desktop.
Save BenjaminHerbert/0275abbee35aa9b42f7a8b9fb890349b to your computer and use it in GitHub Desktop.
Kubernetes Auth Token Dekodieren OIDC
kubectl config view --minify -o json | jq -r '.users[0].user."auth-provider".config."id-token"' | tr '.' '\n' | sed -n 2p | base64 -d | jq '.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment