secrets-management

Enforce secret management best practices to prevent hard-coded credentials in source control.

1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/edwifiguy/era-agents-ops --skill secrets-management-edwifiguy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: secrets-management
Source: https://github.com/edwifiguy/era-agents-ops/tree/main/skills/era-agents-op/metaclaw/memory_data/skills/secrets-management
Command: npx skills add https://github.com/edwifiguy/era-agents-ops --skill secrets-management-edwifiguy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps credentials safe by preventing hard-coded secrets in source code, reducing the risk of leakage and credential theft across development, build, and runtime environments.

Core Features & Use Cases

  • Secrets guardrails: enforce best practices for handling API keys, passwords, tokens, and private keys across code, CI/CD, and deployments.
  • Environment-driven security: promote usage of environment variables and secret managers (e.g., AWS Secrets Manager, Vault) in both local and cloud environments.
  • On-demand rotation & ignore lists: guide automatic secret rotation and ignore patterns to minimize blast radius during exposures.

Quick Start

Use this skill to ensure no secrets are hard-coded in your codebase and switch to environment-based credentials with a secrets manager.

Frequently Asked Questions about secrets-management

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

FAQPage Schema
How do I prevent hard-coded secrets in source code?

To prevent hard-coded secrets in source code, enforce best practices for secret management by moving API keys, passwords, and tokens into environment variables or dedicated secrets managers across development and CI/CD pipelines.

What is the best way to manage credentials in CI/CD pipelines?

Managing credentials in CI/CD pipelines requires enforcing secrets guardrails that route API keys and tokens through environment variables or secret managers like AWS Secrets Manager and Vault, ensuring no sensitive data exists in source control.

How do I set up environment variables for API keys and passwords?

Set up environment variables for API keys and passwords by configuring your local and cloud environments to reference secrets managers, eliminating hard-coded credentials from your codebase while maintaining application access to necessary tokens.

Does this approach support automatic secret rotation policies?

Yes, this approach supports automatic secret rotation policies and ignore patterns to minimize the blast radius during exposures, guiding timely credential updates for API keys, passwords, and tokens across your environments.

Can I use this with AWS Secrets Manager and Vault?

Yes, you can use this with AWS Secrets Manager and Vault, as it promotes environment-driven security by integrating with secret managers in both local and cloud environments to securely handle credentials without hard-coding.

Why should I use a secrets manager instead of hard-coding credentials?

You should use a secrets manager instead of hard-coding credentials to reduce the risk of leakage and credential theft, applying secrets guardrails across code, CI/CD, and deployments to ensure sensitive data remains out of source control.