1
0
mirror of https://github.com/rancher/types.git synced 2025-08-02 05:11:59 +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 52df5bbb83
commit a96587e272

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"`