Closed jblakley closed 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.
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.
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.