secrets-management

Implement secure secrets management for CI/CD pipelines with Vault and cloud secret managers.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/drgaciw/academic-compliance-hub-glm --skill secrets-management-drgaciw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: secrets-management
Source: https://github.com/drgaciw/academic-compliance-hub-glm/tree/main/agents/plugins/cicd-automation/skills/secrets-management
Command: npx skills add https://github.com/drgaciw/academic-compliance-hub-glm --skill secrets-management-drgaciw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the critical need to manage sensitive credentials and secrets securely within CI/CD pipelines, preventing hardcoding and reducing the risk of exposure.

Core Features & Use Cases

  • Centralized Secret Storage: Utilize tools like HashiCorp Vault, AWS Secrets Manager, Azure Key Vault, or Google Secret Manager for secure storage.
  • CI/CD Integration: Seamlessly integrate secret retrieval into popular CI/CD platforms like GitHub Actions and GitLab CI.
  • Automated Rotation: Implement mechanisms for automatic secret rotation to enhance security.
  • Use Case: Securely deploy an application by fetching API keys and database credentials from a secrets manager during the CI/CD pipeline execution, ensuring these sensitive values are never exposed in code repositories.

Quick Start

Use the secrets-management skill to retrieve the 'database/config' secret from Vault and store its username and password in environment variables.

Frequently Asked Questions about secrets-management

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

FAQPage Schema
How do I prevent hardcoded secrets in CI/CD pipelines?

Preventing hardcoded secrets in CI/CD pipelines requires pulling credentials dynamically from a centralized secrets manager during build and deployment. This ensures sensitive values are never exposed in code repositories and maintains secure automated processes.

What is the best way to manage CI/CD secrets across AWS and Azure?

The best way to manage CI/CD secrets across AWS and Azure is using a centralized approach with tools like AWS Secrets Manager or Azure Key Vault. This enables secure credential storage, automated rotation, and least-privilege access for automated deployments.

How do I integrate HashiCorp Vault with GitHub Actions?

Integrating HashiCorp Vault with GitHub Actions involves fetching secrets directly from the vault during pipeline execution. This secures application deployments by retrieving API keys and database credentials on demand without hardcoding them.

Can I automate secret rotation for database credentials in GitLab CI?

Yes, you can automate secret rotation for database credentials in GitLab CI by integrating with a secrets manager. This mechanism automatically updates credentials, enhancing security and maintaining audit trails for sensitive data access.

Do I need a secrets manager to enforce least-privilege access in automated deployments?

Yes, a secrets manager is needed to enforce least-privilege access in automated deployments. Centralized storage tools like Google Secret Manager restrict access to sensitive data while maintaining audit trails for CI/CD processes.

Why use Google Secret Manager instead of storing credentials in code repositories?

Using Google Secret Manager instead of storing credentials in code repositories prevents accidental exposure of sensitive data. It provides secure credential storage, automated rotation, and retrieval mechanisms that hardcoding cannot offer for CI/CD pipelines.