aws-secrets-manager

Resolve AWS Secrets Manager references at runtime with asm-exec.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/AndreKurait/claude-marketplace-test --skill aws-secrets-manager-andrekurait
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-secrets-manager
Source: https://github.com/AndreKurait/claude-marketplace-test/tree/main/plugins/aws-core/skills/aws-secrets-manager
Command: npx skills add https://github.com/AndreKurait/claude-marketplace-test --skill aws-secrets-manager-andrekurait

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When AI agents handle secrets like credentials, API keys, tokens, and passwords, plaintext values can leak into logs, prompts, or downstream tool calls. This skill teaches a safer pattern by using runtime dynamic references resolved at execution time with a wrapper script (asm-exec), ensuring secrets never enter the LLM context.

Core Features & Use Cases

  • Dynamic references resolved at runtime via {{resolve:secretsmanager:...}} to keep secrets out of agent context.
  • Asm-exec integration: a wrapper that substitutes references in command arguments and environment variables without exposing values.
  • Flexible backends: supports AWS Secrets Manager Agent (SMA) on localhost:2773 or SigV4-signed MCP endpoints for resolution.

Quick Start

Install and enable the aws-secrets-manager skill and begin using asm-exec to resolve {{resolve:secretsmanager:...}} references in commands.

Frequently Asked Questions about aws-secrets-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent AWS Secrets Manager plaintext values from leaking into AI agent context?

To prevent secret leakage in AI agent context, use runtime dynamic references with the {{resolve:secretsmanager:...}} syntax. This ensures credentials, API keys, and passwords are resolved at execution time by a wrapper script rather than exposed in prompts or logs.

What is the asm-exec wrapper and how does it work with dynamic references?

The asm-exec wrapper substitutes {{resolve:secretsmanager:...}} dynamic references in command arguments and environment variables at runtime. It resolves the secret values during execution without exposing the plaintext to the LLM context.

Do I need IAM permissions to use dynamic references for AWS Secrets Manager?

Yes, using dynamic references for AWS Secrets Manager requires proper IAM permissions to be configured. Additionally, you need either the AWS Secrets Manager Agent available on localhost:2773 or a SigV4-signed MCP endpoint to handle the backend resolution.

Can I use SigV4-signed MCP endpoints instead of SMA for secret resolution?

Yes, you can use SigV4-signed MCP endpoints as a flexible backend for secret resolution instead of the AWS Secrets Manager Agent (SMA). Both backends support resolving dynamic references securely at runtime without exposing plaintext values.

What are the limitations of using runtime resolution for secrets in AI agents?

The runtime resolution approach requires that the agent strictly uses dynamic references and that proper backend infrastructure like SMA or SigV4-signed MCP endpoints is configured. It relies on asm-exec integration and will not protect secrets if plaintext values are passed directly into the context.

When should I use dynamic references instead of passing secrets directly to my agent?

You should use dynamic references whenever your AI agent handles credentials, API keys, tokens, or passwords. Passing secrets directly risks leaking plaintext values into logs, prompts, or downstream tool calls, whereas runtime resolution keeps them out of the LLM context entirely.