Michael Ludvig
Sep 26, 2021

--

I don't get it why did you have the creds in the code in the first place?

During development "export AWS_PROFILE=..." is all it takes to provide the creds to any program. And during deployment they're probably running in AWS with an IAM role creds available - in Lambda, Fargate or on EC2.

I wonder why would I ever need to hardcode the AWS creds anywhere...

--

--

Michael Ludvig
Michael Ludvig

Written by Michael Ludvig

GenAI and AWS Cloud ★ Slalom New Zealand

Responses (1)