Documentation ¶
Overview ¶
Package config provides the content of AWS config file.
Index ¶
Constants ¶
View Source
const AwsConfigPath = "~/.aws/config"
AwsConfigPath ...
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultRoleSessionName ¶
func CreateDefaultRoleSessionName() string
CreateDefaultRoleSessionName ...
Types ¶
type AwsFileConfig ¶
type AwsFileConfig struct { MfaSerial string RoleArn string RoleSessionName string DurationSeconds int SourceProfile string }
AwsFileConfig ...
func GetAwsFileConfig ¶
func GetAwsFileConfig(path string, profile string) (AwsFileConfig, error)
GetAwsFileConfig ...
Click to show internal directories.
Click to hide internal directories.