본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

secrets-management

brandonwise 제작

DevOps & Cloud
482clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Secure secrets management for CI/CD pipelines using Vault, AWS Secrets Manager, and native platform solutions.

설명

이 스킬이 하는 일

Covers how to store, retrieve, and rotate secrets in CI/CD pipelines using HashiCorp Vault, AWS Secrets Manager, and native platform secret stores. Includes patterns for GitHub Actions, GitLab CI, Kubernetes, and Terraform. Also covers secret scanning to catch leaked credentials before they reach git.

Centralizing secrets in a dedicated store with audit logging and automatic rotation reduces the risk of credential leaks compared to scattering values across .env files, CI variables, and config repositories.

사용 시점

  • Pulling database passwords into GitHub Actions without hardcoding them
  • Rotating API keys automatically on a 90-day schedule
  • Syncing Vault secrets into Kubernetes pods via External Secrets Operator
  • Blocking secret commits with a pre-commit TruffleHog hook
  • Managing environment-specific credentials across dev, staging, and production

예시 워크플로

입력

User asks: How do I pull a Vault database secret into my GitHub Actions deploy job?

에이전트
  1. 1

    Enables the KV-v2 secrets engine in Vault and stores the database credentials at a target path

  2. 2

    Adds the hashicorp/vault-action step to the GitHub Actions workflow, pointing to the Vault URL and token secret

  3. 3

    Maps the Vault secret fields to named environment variables using the secrets mapping syntax

  4. 4

    Confirms the secret is masked in logs so it will not appear in job output

출력

A working GitHub Actions workflow YAML that fetches DB credentials from Vault at runtime and exposes them as masked environment variables to subsequent steps

요구 사항

  • HashiCorp Vault server (self-hosted or HCP Vault) or an AWS, Azure, or GCP account with the relevant secrets service enabled
  • Vault token or cloud IAM credentials added as CI/CD secrets (e.g., VAULT_TOKEN, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
  • For Kubernetes integration: External Secrets Operator installed in the cluster

설치

clawhub install brandonwise/secrets-management

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크