aj-geddes avatar

Secrets Management

This walks you through setting up proper secrets management using HashiCorp Vault, AWS Secrets Manager, or Kubernetes Secrets. You get configuration examples for Vault with Raft storage and TLS, plus guides covering Kubernetes integration and rotation workflows. Use this when you need to stop hardcoding database credentials and API keys, or when you're trying to get audit logging and automated rotation working across multiple environments. The best practices section is solid on the basics like separating secrets per environment and not logging secret values, though you'll still need to figure out your organization's specific rotation policies and access patterns yourself.

skills.sh installs
449
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill secrets-management --agent claude-code

Installs into .claude/skills of the current project.

Files

Secrets Management

Table of Contents

Overview

Deploy and configure secure secrets management systems to store, rotate, and audit access to sensitive credentials, API keys, and certificates across your infrastructure.

When to Use

  • Database credentials management
  • API key and token storage
  • Certificate management
  • SSH key distribution
  • Credential rotation automation
  • Audit and compliance logging
  • Multi-environment secrets
  • Encryption key management

Quick Start

Minimal working example:

# vault-config.hcl
storage "raft" {
  path    = "/vault/data"
  node_id = "node1"
}

listener "tcp" {
  address       = "0.0.0.0:8200"
  tls_cert_file = "/vault/config/vault.crt"
  tls_key_file  = "/vault/config/vault.key"
}

api_addr     = "https://0.0.0.0:8200"
cluster_addr = "https://0.0.0.0:8201"

ui = true

Reference Guides

Detailed implementations in the references/ directory:

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Security, DevOps & CI/CD, AI & Agent Building, Cloud & Infrastructure
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258

Recommended

More Security
1patricio0312rev avatarnginx-config-optimizerpatricio0312rev/skillsOptimizes Nginx configurations for performance, security, caching, and load balancing with modern best practices. Use when users request "Nginx setup", "reverse448skills.sh installs
2patricio0312rev avatarmulti-tenant-safety-checkerpatricio0312rev/skillsEnsures tenant isolation at query and policy level using Row Level Security, automated testing, and security audits. Prevents data leakage between tenants. Use 439skills.sh installs
3gocallum avatarclerk-nextjs-skillsgocallum/nextjs16-agent-skillsClerk authentication for Next.js 16 (App Router only) with proxy.ts setup, migration from middleware.ts, environment configuration, and MCP server integration.438skills.sh installs
4bobmatnyc avatardependency-auditbobmatnyc/claude-mpm-skillsDependency audit and cleanup workflow for maintaining healthy project dependencies. Use for regular maintenance, security updates, and removing unused packages.434skills.sh installs
5secondsky avatarapi-filtering-sortingsecondsky/claude-skillsBuilds flexible API filtering and sorting systems with query parameter parsing, validation, and security. Use when implementing search endpoints, building data 432skills.sh installs
6hairyf avatartaurihairyf/skillsCross-platform app toolkit with Rust backend and WebView frontend. Use when building or maintaining Tauri apps, configuring IPC/security, or developing plugins.431skills.sh installs