Home icon

How to use the AWS Secrets Manager Agent

Security Blog



This article explains how to use the AWS Secrets Manager Agent, a new feature that allows you to retrieve secrets from AWS Secrets Manager in a standardized way across different AWS compute environments.

Specifically, the article covers:

  • An overview of the new Secrets Manager Agent and its benefits
  • Prerequisites and steps to create a secret in Secrets Manager
  • Creating an IAM role and policies for accessing the secret
  • Launching an EC2 instance and installing the Secrets Manager Agent on it
  • Using the agent to retrieve the secret from the local web server
  • Cleaning up the resources created in the process


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Oct 21
2025
Using AWS Secrets Manager Agent with Amazon EKS
Jul 11
2024
AWS Secrets Manager announces open source release of Secrets Manager Agent
Aug 14
2024
How to centrally manage secrets with AWS Secrets Manager
May 19
2026
Introducing pre-fetching and IAM role assumption for AWS Secrets Manager Agent

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.