Specify sensitive data - AWS Batch
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: January 13, 2026.

Specify sensitive data

With AWS Batch, you can inject sensitive data into your jobs by storing your sensitive data in either AWS Secrets Manager secrets or AWS Systems Manager Parameter Store parameters, and then reference them in your job definition.

Secrets can be exposed to a job in the following ways:

  • To inject sensitive data into your containers as environment variables, use the secrets job definition parameter.

  • To reference sensitive information in the log configuration of a job, use the secretOptions job definition parameter.