AWS Secrets Manager introduces safe secrets handling in the Agent Toolkit for AWS

Published
June 17, 2026
https://aws.amazon.com/about-aws/whats-new/2026/06/safe-secrets-handling-in-agent-toolkit-for-aws/

AWS Secrets Manager Secret Safety Skill

AWS Secrets Manager now offers a secret safety skill as part of the aws-core plugin in the Agent Toolkit for AWS, an open-source repository that equips AI coding agents with tools, knowledge, and guardrails for building on AWS. This skill allows developers to use secrets within agentic workflows without exposing secret values to the underlying model or session logs.

Until now, developers using AI coding agents could retrieve secrets as plain text without any guardrails, potentially bringing sensitive values into agent context. With this new skill, agents can securely retrieve and consume secrets without passing secret values through the context window, adding a layer of protection.

The skill uses a two-layer approach:

  • It steers the agent so the model never requests or receives a raw secret value—instead prompting the developer to clarify intent and constructing a command that uses the secret rather than retrieving it.
  • A child process resolves secret references to actual values only at execution time, outside the agent process.

Together, these layers ensure plaintext secrets never appear in model context, session logs, or agent memory—without disrupting the developer's workflow.

What to do

Source: AWS release notes




If you need further guidance on AWS, our experts are available at AWS@westloop.io. You may also reach us by submitting the Contact Us form.

Follow our blog

Get the latest insights and advice on AWS services from our experts.

By clicking Sign Up you're confirming that you agree with our Terms and Conditions.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.