Hard-coding AWS access keys in source is one of the most common
breach causes. The right pattern for code RUNNING on AWS is:
A) Hard-code keys, store them in env vars at deploy time.
B) Attach an IAM role (instance profile / Lambda execution role) to
the compute, and let the SDK fetch short-lived credentials from
the metadata service automatically — no static keys at all.
C) Use the root user's keys for "convenience".
D) Email keys to teammates.Sign in to save your code and track progress across devices.