secrets-management
БесплатноБез исполняемых скриптовНе проверенNever commit secrets, manage credentials securely using environment variables, vaults, and Hack23 ISMS key management policy
от Hack23★ 15 звёзд на GitHubОб этом скилле
Secrets Management Skill
Purpose
Ensure secure handling of sensitive credentials, API keys, tokens, and cryptographic keys throughout development and deployment lifecycle across all Hack23 projects. Enforces zero-tolerance for hardcoded secrets.
Rules
Golden Rules
MUST:
- Use environment variables or secrets managers for all credentials
- Use GitHub Actions secrets for CI/CD credentials
- Include
.env,*.key,*.pem,*.p12in.gitignore - Rotate secrets on a defined schedule (quarterly minimum)
- Use pre-commit hooks to detect secrets before they reach the repository
- Log all secret access and rotation events
- Immediately rotate any secret suspected of compromise
MUST NOT:
- Hard-code secrets, credentials, API keys, or tokens in source code
- Commit
.envfiles, private keys, or certificates to git - Store secrets in comments, documentation, or issue descriptions
- Share secrets via email, chat, or unencrypted channels
- Use the same secret across multiple environments
- Use default or well-known credentials in any environment
Secret Types and Storage
| Secret Type | Recommended Storage | Rotation |
|---|---|---|
| API Keys | GitHub Secrets / AWS Secrets Manager | Quarterly |
| Database Credentials | AWS Secrets Manager / Vault | Quarterly |
| JWT Signing Keys | AWS Secrets Manager | Annually |
| TLS Certificates | AWS Certificate Manager | Auto-renewed |
| Encryption Keys | AWS KMS | Annually |
| Service Tokens | GitHub Secrets | Quarterly |
Detection and Prevention
Pre-commit scanning:
- Use
git-secrets,gitleaks, ortrufflehogfor automated detection - GitHub Secret Scanning alerts must be enabled on all repositories
- Block push if secrets are detected
CI/CD scanning:
- Enable GitHub Advanced Security secret scanning
- Run
gitleaksin CI pipeline - Fail builds on secret detection
Incident Response for Exposed Secrets
- Immediately rotate the compromised secret
- Revoke old secret from all systems
- Review access logs for unauthorized use
- Notify security team
- Document incident per Incident Response Plan
Hack23 ISMS Policy References
Compliance Mapping
- ISO 27001:2022: A.8.4 (Access to Source Code), A.8.24 (Cryptography)
- NIST CSF 2.0: PR.AC-1 (Credentials), PR.DS-5 (Data Leak Protection)
- CIS Controls v8.1: Control 3.11 (Encrypt Sensitive Data), Control 4.7 (Manage Credentials)
Установить secrets-management в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл secrets-management?
Never commit secrets, manage credentials securely using environment variables, vaults, and Hack23 ISMS key management policy
Как установить скилл secrets-management?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл secrets-management запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic