소스 정보
- 저장소
- Dev-Toolbelt/dev-team-agents
- 최근 소스 활동
- 2026년 5월 11일 16:18
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill secret-management명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | secret-management |
| description | Secret management — env vars, vaults, rotation, no secrets in code. |
| Anti-pattern | Why it's dangerous |
|---|---|
| Hardcode secrets in source code | Committed to git history; visible to anyone with repo access |
Commit .env files with real values | Permanent exposure even after deletion (git history) |
| Log secrets (even partially) | Log aggregators, third-party services, and crash reports may store them |
| Use the same secret across environments | Dev breach compromises production |
| Pass secrets as CLI arguments | Visible in process list (ps aux), shell history |
| Store in environment variables of public CI runs | Forked PR pipelines can exfiltrate them |
# Scan full history for common secret patterns
git log --all -S "sk-" --oneline # OpenAI keys
git log --all -S "AKIA" --oneline # AWS access keys
git log --all -S "ghp_" --oneline # GitHub tokens
git log --all -S "password" --oneline # Generic passwords
# Use trufflehog for deeper scanning
trufflehog git file://. --only-verified
# Use gitleaks
gitleaks detect --source . --log-level warn
If a secret is found in history: rotate it immediately, then use git filter-repo or BFG to purge — but assume the secret is already compromised.
| Tool | When to use |
|---|---|
| HashiCorp Vault | Self-hosted; complex access policies; dynamic secrets; multi-cloud |
| AWS Secrets Manager | AWS-native workloads; built-in rotation for RDS/Redshift/DocumentDB |
| GCP Secret Manager | GCP-native workloads; IAM-controlled access; regional replication |
| Azure Key Vault | Azure-native workloads; HSM-backed secrets; certificate management |
| Doppler / Infisical | SaaS option; easy local dev sync; team-friendly; multi-cloud |
| 1Password Secrets Automation | Teams already using 1Password; low operational overhead |
Prefer managed services (AWS/GCP/Azure) when already in that cloud — less infra to maintain and automatic audit trails.
| Secret Type | Rotation Frequency | Rotate Immediately If |
|---|---|---|
| Application secrets (JWT, API keys) | Every 90 days | Suspected exposure or team member offboarding |
| Database credentials | Every 90 days | Developer leaves or breach suspected |
| Infrastructure credentials (cloud IAM) | Every 30 days | Any security incident |
| Service-to-service tokens | Every 30 days | Service is decommissioned |
| Human user passwords | Every 180 days | Phishing, breach notification, or MFA reset |
Rotate immediately on any confirmed or suspected exposure — do not wait for the scheduled cycle.
.env — real values, never committed; add to .gitignore.env.example — template with placeholder values, always committed.env.test — test-only values (no production secrets); can be committed if values are non-sensitive stubs.gitignore minimum:
.env
.env.local
.env.*.local
*.pem
*.key
secrets/
Loading pattern (12-factor):
import os
from dotenv import load_dotenv # dev only
load_dotenv() # no-op in production where env vars come from the platform
DATABASE_URL = os.environ["DATABASE_URL"] # fail fast if missing
.env is in .gitignore; .env.example is committed with placeholders