Skip to main content

07. References, Compliance Standards & Tooling


1. Industry Standards & Regulatory Frameworks

Secrets management is explicitly mandated by regulatory standards and security benchmarks worldwide.

+-------------------------------------------------------------------------------+
| REGULATORY & COMPLIANCE FRAMEWORKS |
+-------------------+-----------------------------------------------------------+
| STANDARD | MANDATED REQUIREMENT |
+-------------------+-----------------------------------------------------------+
| **NIST SP 800-57**| Recommendation for Key Management. Mandates cryptographically |
| | separate Key Encryption Keys (KEK) and Data Encryption |
| | Keys (DEK), short cryptoperiods, and emergency key |
| | revocation procedures. |
+-------------------+-----------------------------------------------------------+
| **PCI DSS v4.0** | - Requirement 3.5: Protect cryptographic keys against |
| | disclosure and modification. |
| | - Requirement 7.2: Target access controls based on |
| | least privilege and job function. |
| | - Requirement 8.6: Protect system accounts and machine |
| | authenticators. |
+-------------------+-----------------------------------------------------------+
| **CIS Kubernetes**| - Benchmark 1.1.13: Ensure encryption-provider-config is |
| **Benchmark** | configured on api-server. |
| | - Benchmark 5.1.2: Minimize access to Secret objects. |
+-------------------+-----------------------------------------------------------+
| **SOC 2 Type II** | Trust Services Criteria CC6.1 & CC6.3: Enforce logical |
| | access security over credentials and prevent secret |
| | exposure in configuration stores. |
+-------------------+-----------------------------------------------------------+

2. Common Weakness Enumeration (CWE) & CVE Catalog

CWE Taxonomy

Notable Secret Exposure CVEs

  • CVE-2023-28432 (MinIO): Information disclosure vulnerability exposing admin secret keys via diagnostic endpoints.
  • CVE-2022-24765 (Git): Multi-user Git environment issue leading to secret execution context hijacking.
  • CVE-2021-44228 (Log4j / Log4Shell): Unsanitized logging allowed arbitrary remote code execution, triggering massive environment secret dumping across Java ecosystems.

3. Open Source Security Tooling & Libraries

Secret Detection & Prevention

  • Gitleaks: Fast, SAST-based secret scanner for developer workstations and CI/CD pipelines.
  • TruffleHog: Active API verification engine for detecting and verifying leaked keys.
  • pre-commit: Multi-language pre-commit hook framework for enforcing client-side guardrails.

Git History Cleanup

  • git-filter-repo: Official recommended tool for rewriting Git commit history and purging leaked keys.
  • BFG Repo-Cleaner: High-performance alternative for purging large files and credentials from Git repositories.

Orchestration & Kubernetes Add-ons

Multi-Language SDKs


4. Official Documentation & Further Reading

HashiCorp Vault

Cloud Provider Documentation

OWASP & Kubernetes Security

Share this guide