Documentation ¶
Index ¶
Constants ¶
View Source
const HELPER_BINARY = "aws-iam-authenticator"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Name The name of the cluster for which to create a kubeconfig entry Name string // RoleToAssume To assume a role for cluster authentication, specify an IAM role ARN with this option RoleToAssume string `mapstructure:"role-to-assume"` // RoleSessionName Session name to pass when assuming the IAM Role RoleSessionName string `mapstructure:"role-session-name"` // RoleExternalId External ID to pass when assuming the IAM Role RoleExternalId string `mapstructure:"role-external-id"` // ForwardSessionName Enable mapping a federated sessions caller-specified-role-name attribute onto newly assumed sessions ForwardSessionName bool `mapstructure:"forward-session-name"` // Alias The alias for the cluster context name Alias string // UserAlias The alias for the generated username UserAlias string `mapstructure:"user-alias"` }
Config holds the authentication request configuration
Click to show internal directories.
Click to hide internal directories.