EKS Webhook Token Authentication: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:
=Overview=
=Overview=


EKS has native support for [[Kubernetes_Security_Concepts#Webhook_Token_Authentication|webhook token authentication]].
EKS has native support for bearer tokens and [[Kubernetes_Security_Concepts#Webhook_Token_Authentication|webhook token authentication]].


=Generate a Token=
=Generate a Token=

Revision as of 01:17, 2 October 2020

External

Internal

Overview

EKS has native support for bearer tokens and webhook token authentication.

Generate a Token

For the current IAM User, associated with the current AWS_PROFILE:

aws eks get-token --cluster <cluster-name>

For an arbitrary IAM role:

aws eks get-token --cluster <cluster-name> --role <role-arn>