secrets-and-configuration-management

Store environment variables in encrypted JSON blobs within AWS Secrets Manager.

28|3|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/oborchers/fractional-cto --skill secrets-and-configuration-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: secrets-and-configuration-management
Source: https://github.com/oborchers/fractional-cto/tree/main/cloud-foundation-principles/skills/secrets-and-configuration-management
Command: npx skills add https://github.com/oborchers/fractional-cto --skill secrets-and-configuration-management

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the common challenge of securely storing and managing sensitive information like API keys, database credentials, and configuration settings for applications, preventing data breaches and simplifying deployment.

Core Features & Use Cases

  • Unified Secret Storage: Consolidates all service-specific environment variables into a single secret.
  • Secure Encryption: Utilizes customer-managed KMS keys for robust encryption of secrets.
  • Role-Based Database Access: Implements secure, role-based database user management, enhancing security and simplifying offboarding.
  • Use Case: When setting up a new microservice, use this Skill to define its secret structure, ensure it's encrypted with your KMS key, and establish secure database access roles, all while adhering to best practices for infrastructure-as-code.

Quick Start

Use the secrets-and-configuration-management skill to create a new secret for the 'user-service' with database credentials and API keys.

Frequently Asked Questions about secrets-and-configuration-management

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

FAQPage Schema
How do I manage environment variables securely in AWS Secrets Manager for microservices?

Environment variables are managed by consolidating all service-specific variables into a single encrypted JSON blob within AWS Secrets Manager. This enforces a one-secret-per-service pattern, preventing data breaches while simplifying microservice deployments.

What is the best way to isolate database access across different AWS accounts?

Account-based environment isolation separates database access securely across AWS accounts. This approach defines role-based database users and facilitates secure developer access through IAM policies integrated with RDS Proxy.

How do I set up customer-managed KMS keys for application secrets?

Customer-managed KMS keys encrypt application secrets by storing all environment variables in a single AWS Secrets Manager JSON blob. You define the secret structure for your service and ensure it is encrypted with your specific KMS key.

Does this approach to secrets management work with infrastructure-as-code for new microservices?

Yes, this secrets management approach works with infrastructure-as-code. When setting up a new microservice, you define the secret structure, apply KMS encryption, and establish secure database access roles following infrastructure-as-code best practices.

Can I use IAM policies to control RDS database access for developers?

Yes, IAM policies control RDS database access for developers. This method facilitates secure access through IAM policies and RDS Proxy, implementing role-based database user management to enhance security and simplify user offboarding.

Why consolidate all service environment variables into a single AWS secret?

Consolidating service environment variables into a single AWS secret enforces a one-secret-per-service pattern. This unified storage approach uses customer-managed KMS keys for robust encryption, simplifying configuration management and preventing data breaches.