Automatically Renew AWS SSO Session and Refresh Kubeconfig for EKS Access
Working with AWS EKS clusters via AWS SSO is secure but sometimes frustrating.
If your session expires, kubectl
commands will fail until you manually renew the session and update your kubeconfig.
Let's automate that with a small Bash script.