This policy allows connections to production Kubernetes clusters with an MFA prompt.
I’ve already established a session to the EKS cluster, so let’s run a Kubernetes command.
I’m being prompted for MFA, so I’ll approve it. The command completes successfully.
Now let’s run another Kubernetes command.
As you can see, I’ve successfully connected to my production Kubernetes cluster.