Documentation ¶
Index ¶
Constants ¶
View Source
const ( AwsAccessKeyId = "AWS_ACCESS_KEY_ID" AwsAccessSecretKey = "AWS_SECRET_ACCESS_KEY" //nolint:gosec AwsDefaultRegion = "AWS_DEFAULT_REGION" )
Variables ¶
This section is empty.
Functions ¶
func CreateSession ¶
CreateSession returns a standard session with the AWS CLI environment
This looks into two different config files, `~/.aws/credentials` for a secret to the specified profile, and `~/.aws/config` for the region name detection.
These are the standard config files, used by AWS CLI and other SDKs.
Also see https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html
func CreateTestSession ¶
func DetectRegionFromConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.