1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 23:08:25 +00:00

Adding session token to eks config

This change adds a session token field to the eks config to support
provisioning clusters with credentials generated via GetSessionToken or
AssumeRole calls.

Issue:
https://github.com/rancher/rancher/issues/16005
This commit is contained in:
Nathan Jenan
2018-10-05 13:13:21 -07:00
committed by Alena Prokharchyk
parent 006bf1d436
commit 36992966af

View File

@@ -217,8 +217,9 @@ type AzureKubernetesServiceConfig struct {
}
type AmazonElasticContainerServiceConfig struct {
AccessKey string `json:"accessKey" norman:"required"`
SecretKey string `json:"secretKey" norman:"required,type=password"`
AccessKey string `json:"accessKey" norman:"required"`
SecretKey string `json:"secretKey" norman:"required,type=password"`
SessionToken string `json:"sessionToken,omitempty" norman:"type=password"`
Region string `json:"region"`
InstanceType string `json:"instanceType"`