Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AwsAccountIdFromConfig ¶ added in v0.1.3
func AwsAccountIdFromConfig( ctx context.Context, cfg aws.Config, timeout time.Duration, ) (string, error)
AwsAccountIdFromConfig returns the aws account id given an aws config. It makes a call to AWS Session Token Service's (STS) "GetCallerIdentity" API endpoint -- which does not require any IAM permissions to call.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.