jblakley / ScannerEKSQS

MIT License
0 stars 0 forks source link

AWS Credentials not set #2

Closed jblakley closed 5 years ago

jblakley commented 5 years ago

AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are not set in new instances. This affects pulling images from the ECS registry.

Solution: use os.environ to create them in the Python script.

jblakley commented 5 years ago

Not sure I understand this one. They are set in the getAWScred() function in scanner_EKS_builder.py which is in turn called by the set_environ() function.

jblakley commented 5 years ago

Closing -- note that credentials must be present in $HOME/.aws/credentials for the quickstart to work. The baselining script runs aws configure to populate this file.