package
1.1.1
Repository: https://github.com/mmmorris1975/aws-runas.git
Documentation: pkg.go.dev

# Functions

MergeConfig will merge the provided list of AwsConfig types to a single value.
NewConfigResolver provides a default ConfigResolver which will consult the SDK config file ($HOME/.aws/config or value of AWS_CONFIG_FILE env var) as a source for configuration resolution, in addition to the provided user config data.

# Constants

DefaultProfileEnvVar is the environment variable to define the name of the default AWS profile, if different from the SDK default 'default'.
DefaultRegionEnvVar is the environment variable to define the default AWS region (if AWS_REGION is not specified).
ExternalIdEnvVar is the environment variable to define the optional External ID value when getting Assumed Role credentials.
MfaSerialEnvVar is the environment variable to define the optional multi-factor authentication serial number or ARN to use to retrieve credentials.
ProfileEnvVar is the environment variable to define the name of the configuration profile (or role ARN) to use to retrieve credentials.
RegionEnvVar is the environment variable to define the AWS region to work in.
RoleDurationEnvVar is the environment variable to define the Assume Role credential lifetime.
SessionDurationEnvVar is the environment variable to define the Session Token credential lifetime.

# Structs

AwsConfig is the type used to hold the configuration details retrieved from a given source.

# Interfaces

ConfigResolver is the interface for retrieving AWS SDK configuration from a source.