executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
aws-secrets-managerImplements AWS Secrets Manager for secure secret storage, management, and automatic rotation of credentials using AWS SDK for Python (Boto3).
Independent GitHub snapshot · Automated classification · Original documentation governs
name: aws-secrets-manager description: Implements AWS Secrets Manager for secure secret storage, management, and automatic rotation of credentials using AWS SDK for Python (Boto3). license: MIT compatibility: opencode metadata: version: "1.1.1" domain: coding triggers: aws secrets manager, boto3, secret management, automatic rotation, credential management archetypes: [implementation, secret management] anti_triggers: [hardcoded secrets] response_profile: verbosity: medium directive_strength: high abstraction_level: operational
role: implementation scope: implementation output-format: code
AWS Secrets Manager is a critical service that aids in securely managing sensitive information such as passwords, secrets, and API keys. This guide covers best practices, implementation steps, and relevant examples.
import boto3
# Create a Secrets Manager client
client = boto3.client('secretsmanager')
# Create a new secret
client.create_secret(
Name='MyDatabaseSecret',
SecretString='{"username":"admin", "password":"Password123"}'
)
# Retrieve the secret
get_secret_value_response = client.get_secret_value(SecretId='MyDatabaseSecret')
print(get_secret_value_response['SecretString'])
By implementing AWS Secrets Manager, organizations can securely manage sensitive information while automating key management processes and complying with organizational security policies. Maximizing the utilization of AWS services enables better governance, reducing security risks significantly.
Authoritative documentation links for this skill's domain. The model follows markdown links at load time to resolve external references and inline content.