Difference between revisions of "Token"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
* [[Bearer Token]] | * [[Bearer Token]] | ||
* <code>[[aws sts get-session-token]]</code> | * <code>[[aws sts get-session-token]]</code> | ||
+ | |||
+ | |||
+ | |||
+ | [[Terraform EKS]] | ||
+ | provider "kubernetes" { | ||
+ | host = data.[[aws_eks_cluster]].cluster.endpoint | ||
+ | [[token]] = data.[[aws_eks_cluster_auth]].cluster.token | ||
+ | cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data) | ||
+ | } |
Revision as of 19:40, 1 December 2021
Terraform EKS provider "kubernetes" { host = data.aws_eks_cluster.cluster.endpoint token = data.aws_eks_cluster_auth.cluster.token cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data) }
Advertising: