News for hackers. Stuff that matters.
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.
Re:The Twelve-Factor App by pojzon on Friday October 13, 2023 @05:08PM (#37875653)
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.