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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ