Skip to content
Back to skills

Configuration And Secrets

ASecurity

Manage application configuration, environment separation, secrets, feature flags, and operational settings safely across development, test, and production.

  • 200 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentssecurity

Works with

  • cli

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add sivaprasadreddy/sivalabs-agent-skills --skill configuration-and-secrets --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Configuration And Secrets?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Configuration And Secrets
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sivaprasadreddy-configuration-and-secrets/badge)](https://www.skillsdirectory.com/skills/sivaprasadreddy-configuration-and-secrets)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: configuration-and-secrets
description: Manage application configuration, environment separation, secrets, feature flags, and operational settings safely across development, test, and production.
---

# Configuration and Secrets

## Purpose
Make runtime configuration predictable, secure, validated, and manageable across environments.

## When to use
Use when adding configuration, credentials, feature flags, environment-specific behavior, or deployment settings.

## Principles
- Separate deploy-time configuration from application code.
- Keep environment-specific values outside source code where practical.
- Treat secrets differently from ordinary configuration.
- Never commit credentials, private keys, access tokens, or production connection strings.
- Use an approved secret manager or protected deployment secret store.
- Apply least privilege and rotate credentials with a defined process.
- Validate required configuration at startup and fail clearly when invalid.
- Define safe defaults; avoid insecure fallback values.
- Avoid configuration sprawl and duplicated sources of truth.
- Make configuration changes auditable and reversible.
- Keep feature flags temporary unless they are intentionally part of product configuration.

## Workflow
1. Inventory configuration values and classify each as non-sensitive, sensitive, or environment-specific.
2. Define the authoritative source for each value.
3. Establish naming, typing, validation, and precedence conventions.
4. Provide safe local development and test configuration without production secrets.
5. Inject secrets at runtime through controlled mechanisms.
6. Define rotation, revocation, and incident response for credentials.
7. Document required values and safe examples.
8. Verify startup behavior for missing, malformed, and invalid configuration.

## Security expectations
- Do not expose secrets in logs, diagnostics, crash reports, client-side bundles, or error messages.
- Do not use a secret as a feature flag or ordinary configuration value.
- Restrict who and what can read each secret.
- Avoid copying production secrets into developer machines or test environments.
- Ensure backups and exported configuration do not leak credentials.
- Rotate compromised or overexposed credentials promptly.

## Review checklist
- Is each value stored in the right place?
- Are secrets separated from ordinary configuration?
- Are required values validated?
- Are defaults safe?
- Are environment differences explicit and minimal?
- Can credentials be rotated without code changes?
- Are configuration changes traceable?

Do not invent actual secret values. Use clearly marked placeholders in examples.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.