terracognita icon indicating copy to clipboard operation
terracognita copied to clipboard

Add cli flag to discover AWS credentials via AWS SDK default credential chain

Open eldondevsit opened this issue 2 years ago • 1 comments

Abstract

The AWS SDK has a method of resolving credentials based on a default credentials chain. It would be nice to pass a single flag instead of having to pass flags even if the standard environment variables are set, or to use the IMDS directly.

Proposal

Add a flag which instructs terracognita to use the aws golang sdk to discover credentials via the default credential provider chain, including things like IMDS, etc.

eldondevsit avatar Feb 07 '24 17:02 eldondevsit

I can try to get together a PR for this if that would be of interest.

eldondevsit avatar Feb 07 '24 17:02 eldondevsit