infra-secrets-management-review

Audit Vault, Kubernetes, Airflow, dbt, and CI configurations for insecure secret patterns.

14|1|Updated May 5, 2026
One-click install
npx skills add https://github.com/ivanshamaev/de-agent-skills --skill infra-secrets-management-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infra-secrets-management-review
Source: https://github.com/ivanshamaev/de-agent-skills/tree/main/group_skills/infra_dataops_group_skills/infra_secrets_management_review
Command: npx skills add https://github.com/ivanshamaev/de-agent-skills --skill infra-secrets-management-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you eliminate insecure secret storage and access patterns across Vault, Kubernetes, Airflow, dbt, and CI/CD by turning ad-hoc practices into auditable, rotating, least-privilege workflows.

Core Features & Use Cases

  • Vault KV v2 & policy auditing: Review static (KV v2) secret layout, versioning, and access policies for specific workloads like Airflow connections and service accounts.
  • Dynamic credentials & lease renewal: Design short-lived database credentials and revocation flows using Vault dynamic database secrets.
  • External Secrets Operator (ESO) integration: Sync Vault-backed secrets into Kubernetes Secrets safely via scheduled refresh instead of embedding plaintext secrets in manifests.
  • Secret scanning and leak prevention: Set up pre-commit and CI secret scanning (gitleaks/truffleHog/Semgrep) to catch leaks in code and history.
  • Rotation and anti-pattern detection: Create a practical checklist that targets common failure modes like static passwords, plaintext logs, and missing audit logs.

Quick Start

Ask the agent: "Review our current secrets management and propose a migration plan to Vault (KV v2 + dynamic credentials) with ESO for Kubernetes and secret scanning in CI."

Frequently Asked Questions about infra-secrets-management-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate hardcoded credentials to HashiCorp Vault KV v2 and dynamic database secrets?

To manage Kubernetes secrets with Vault, you integrate External Secrets Operator (ESO) to sync Vault-backed secrets into Kubernetes Secrets via scheduled refresh. This replaces embedding plaintext secrets directly in manifests and ensures credentials rotate automatically without manual intervention.

What is the best way to set up secret scanning in CI/CD to prevent credential leaks?

Setting up secret scanning in CI/CD involves configuring pre-commit hooks and pipeline scans using tools like gitleaks, truffleHog, or Semgrep. This detects insecure patterns and exposed secrets in code and git history before deployment, preventing accidental credential leaks.

How do I configure Airflow to use a Vault backend for connections and avoid plaintext logs?

Configuring Airflow to use a Vault backend involves mapping Airflow connections to Vault KV v2 static secrets and applying strict access policies. You must audit logging configurations to ensure plaintext credentials are not exposed in task logs and enforce secure revocation flows.

Does this approach work for securing dbt profiles and CI configurations?

Yes, this approach secures dbt profiles and CI configurations by auditing their access patterns and migrating them to Vault-backed credentials. It identifies insecure patterns like static passwords and provides actionable remediation to enforce least-privilege access governance across data platforms.

How do I detect and remediate insecure secrets management anti-patterns in my data platform?

Detecting insecure secrets management anti-patterns requires auditing Vault, Kubernetes, Airflow, and dbt configurations for static passwords, plaintext logs, and missing audit trails. You create a remediation checklist targeting these failure modes and implement rotating TLS/cert workflows and dynamic credentials.