Can we let secrets be overridable in AWS Batch?

0

Right now, I have a general docker container that I'm using for running different types of batch jobs and I'm able to override the command and environment variables for each type of job but there doesn't seem to be the option to override secrets so the secrets I pass to the job (via regular environment variables) are in plaintext.

https://docs.aws.amazon.com/batch/latest/APIReference/API_SubmitJob.html

已提问 2 年前240 查看次数
1 回答
0

You can store your secrets in Secrets Manager and retrieve them in your code - https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html

You can pass the ARN to the secret as an environment variable but not the actual secret value

profile pictureAWS
专家
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则