Documentation ¶
Index ¶
- func GetAssumeCreds(arn string, sessionName string, duration int) (*sts.Credentials, error)
- func GetConfig() (*schema.Config, error)
- func GetCurrentAWSConfig(profile string) (*schema.AWSConfig, error)
- func GetInitConfig(name string) []schema.Config
- func ReadAWSConfig() (*ini.File, error)
- func ReadConfigOnly() (*schema.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssumeCreds ¶
GetAssumeCreds creates a credentials for assuming role.
func GetCurrentAWSConfig ¶
GetCurrentAWSConfig parse an aws configuration with profile
func GetInitConfig ¶
GetInitConfig creates new Config struct for initialization
func ReadAWSConfig ¶
func ReadAWSConfig() (*ini.File, error)
ReadAWSConfig parse an aws configuration
func ReadConfigOnly ¶
ReadConfigOnly parse a configuration file and return Config struct without cleaning OS environment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.