Re:The Twelve-Factor App
by maccard on Thursday October 12, 2023 @04:13PM
(#37862584)
Not OP but an IAM role with scoped access to secrets. Better again, using secretsFrom in the task definition which injects the secret as an environment variable for you.
[ Parent
| on HN ]
IRSA in pods and containers is translated to env vars. That was the point.
That if you dont want to pull in k8s dependencies to the code, at the end every approach ends up as a mounted file or env vars.