본문으로 건너뛰기
Skillpedia
보안29k · #9599

secrets-vault-manager

하는 일

이 스킬은 비밀번호, API 키, 인증서를 저장하는 시스템을 설정하고 운영하도록 팀을 돕습니다. 비밀 정보 관리와 보안 규정 준수를 맡은 엔지니어에게 맞습니다.

사용하는 경우

  • ✓HashiCorp Vault나 클라우드 비밀 관리자를 설정할 때.
  • ✓비밀번호, API 키, 인증서를 일정에 따라 교체해야 할 때.
  • ✓감사를 위해 누가 비밀 정보에 접근했는지 검토해야 할 때.

스킬 링크

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/secrets-vault-manager/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/secrets-vault-manager/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 팀을 위해 HashiCorp Vault를 설정하고, 데이터베이스 비밀번호를 교체하는 계획을 세워 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 비밀 저장소의 설정을 만들고, 키와 비밀번호 교체 단계를 계획하며, 감사 로그를 검토해 비밀 정보가 어떻게 접근되었는지 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Secrets Vault Manager

Tier: POWERFUL Category: Engineering Domain: Security / Infrastructure / DevOps


Overview

Production secret infrastructure management for teams running HashiCorp Vault, cloud-native secret stores, or hybrid architectures. This skill covers policy authoring, auth method configuration, automated rotation, dynamic secrets, audit logging, and incident response.

Distinct from env-secrets-manager which handles local .env file hygiene and leak detection. This skill operates at the infrastructure layer — Vault clusters, cloud KMS, certificate authorities, and CI/CD secret injection.

When to Use

  • Standing up a new Vault cluster or migrating to a managed secret store
  • Designing auth methods for services, CI runners, and human operators
  • Implementing automated credential rotation (database, API keys, certificates)
  • Auditing secret access patterns for compliance (SOC 2, ISO 27001, HIPAA)
  • Responding to a secret leak that requires mass revocation
  • Integrating secrets into Kubernetes workloads or CI/CD pipelines

HashiCorp Vault Patterns

Architecture Decisions

Decision Recommendation Rationale
Deployment mode HA with Raft storage No external dependency, built-in leader election
Auto-unseal Cloud KMS (AWS KMS / Azure Key Vault / GCP KMS) Eliminates manual unseal, enables automated restarts
Namespaces One per environment (dev/staging/prod) Blast-radius isolation, independent policies
Audit devices File + syslog (dual) Vault refuses requests if all audit devices fail — dual prevents outages

Auth Methods

AppRole — Machine-to-machine authentication for services and batch jobs.

# Enable AppRole
path "auth/approle/*" {
  capabilities = ["create", "read", "update", "delete", "list"]
}

# Application-specific role
vault write auth/approle/role/payment-service \
  token_ttl=1h \
  token_max_ttl=4h \
  secret_id_num_uses=1 \
  secret_id_ttl=10m \
  token_policies="payment-service-read"

Kubernetes — Pod-native authentication via service account tokens.

vault write auth/kubernetes/role/api-server \
  bound_service_account_names=api-server \
  bound_service_account_namespaces=production \
  policies=api-server-secrets \
  ttl=1h

OIDC — Human operator access via SSO provider (Okta, Azure AD, Google Workspace).

vault write auth/oidc/role/engineering \
  bound_audiences="vault" \
  allowed_redirect_uris="https://vault.example.com/ui/vault/auth/oidc/oidc/callback" \
  user_claim="email" \
  oidc_scopes="openid,profile,email" \
  policies="engineering-read" \
  ttl=8h

Secret Engines

Engine Use Case TTL Strategy
KV v2 Static secrets (API keys, config) Versioned, manual rotation
Database Dynamic DB credentials 1h default, 24h max
PKI TLS certificates 90d leaf certs, 5y intermediate CA
Transit Encryption-as-a-service Key rotation every 90d
SSH Signed SSH certificates 30m for interactive, 8h for automation

Policy Design

Follow least-privilege with path-based granularity:

# payment-service-read policy
path "secret/data/production/payment/*" {
  capabilities = ["read"]
}

path "database/creds/payment-readonly" {
  capabilities = ["read"]
}

# Deny access to admin paths explicitly
path "sys/*" {
  capabilities = ["deny"]
}

Policy naming convention: {service}-{access-level} (e.g., payment-service-read, api-gateway-admin).


Cloud Secret Store Integration

Comparison Matrix

Feature AWS Secrets Manager Azure Key Vault GCP Secret Manager
Rotation Built-in Lambda Custom logic via Functions Cloud Functions
Versioning Automatic Manual or automatic Automatic
Encryption AWS KMS (default or CMK) HSM-backed Google-managed or CMEK
Access control IAM policies + resource policy RBAC + Access Policies IAM bindings
Cross-region Replication supported Geo-redundant by default Replication supported
Audit CloudTrail Azure Monitor + Diagnostic Logs Cloud Audit Logs
Pricing model Per-secret + per-API call Per-operation + per-key Per-secret version + per-access

When to Use Which

  • AWS Secrets Manager: RDS/Aurora credential rotation out of the box. Best when fully on AWS.
  • **Azur
자주 묻는 질문

어떤 비밀 저장소를 다루나요?

HashiCorp Vault, AWS Secrets Manager, Azure Key Vault, GCP Secret Manager를 다룹니다.

.env 파일의 유출을 확인하는 것과 같은가요?

아니요. 그것은 다른 스킬이며, 이 스킬은 인프라 수준에서 작동합니다.

유출 사고 후에도 도움이 되나요?

네. 대량 무효화가 필요한 비밀 정보 유출에 대한 대응도 다룹니다.

상세 정보

작성자의 원본 설명

Use when setting up HashiCorp Vault, AWS Secrets Manager, Azure Key Vault or GCP Secret Manager, rotating secrets or auditing secret access. Generates config with vault_config_generator.py, plans rotation with rotation_planner.py and analyzes audit logs.

repo: alirezarezvani/claude-skills

인기도

GitHub 스타
29k
순위
#9599
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬