Back to Skills

secrets-management

Vault、AWS Secrets Manager、またはネイティブプラットフォームソリューションを使用したCI/CDパイプライン用の安全なシークレット管理を実装。機密認証情報の処理、シークレットのローテーション、またはCI/CD環境の保護時に使用。

5stars1forksUpdated 3/10/2026

Security Assessment

Low Risk(70/100)

Detected risks:

Secret Exposure([SKILL.md] TOKEN=, [SKILL.md] password=, [SKILL.md] PASSWORD=)
Security Score70/100

About secrets-management

The Secrets Management skill provides secure handling of sensitive credentials and secrets within CI/CD pipelines using tools such as HashiCorp Vault, AWS Secrets Manager, and native platform solutions like Azure Key Vault and Google Secret Manager. It addresses the critical problem of avoiding hard-coded secrets in code repositories, ensuring that API keys, passwords, and certificates are managed safely and rotated regularly. By centralizing secret storage and providing controlled access, this skill helps mitigate security risks and enforces compliance with best practices in automated deployment workflows.

Key features of this skill include centralized secret storage, dynamic secret generation, automated rotation, fine-grained access control, and audit logging. For AWS users, integration with RDS and CloudFormation is supported, while Azure users can leverage HSM-backed key storage and RBAC integration. Google Secret Manager provides versioning and IAM integration. Additionally, the skill includes practical examples for integrating Vault with GitHub Actions and GitLab CI, as well as handling AWS Secrets Manager secrets using GitHub Actions and Terraform. It also covers using platform-specific CI/CD secrets like GitHub repository secrets and GitLab project variables, including protected and masked variables.

Typical use cases include storing API keys, managing database credentials, handling TLS certificates, and implementing automated secret rotation within CI/CD pipelines. Target users are DevOps engineers, platform engineers, and software developers who need to secure deployment pipelines and manage sensitive information efficiently. This skill is particularly valuable for organizations aiming to enforce least-privilege access and maintain robust security practices in automated infrastructure and application deployments.

FAQ

How do I integrate HashiCorp Vault with GitHub Actions?

You can use the 'hashicorp/vault-action' within a GitHub Actions workflow to import secrets from Vault. Set the Vault address and token, then specify the secrets you want to inject as environment variables.

Can this skill manage secrets across multiple cloud providers?

Yes, it supports AWS Secrets Manager, Azure Key Vault, and Google Secret Manager, allowing centralized secret management across different cloud platforms.

Does the skill support automatic secret rotation?

Yes, HashiCorp Vault and AWS Secrets Manager provide automated rotation features, enabling periodic updates of credentials without manual intervention.

What types of secrets can I store using this skill?

You can store API keys, database passwords, TLS certificates, and other sensitive configuration values required in CI/CD pipelines.

Are there any restrictions on using project or repository secrets?

GitHub and GitLab support protected and masked variables, meaning access can be limited to certain branches or hidden from logs, but you need to configure these properly to ensure security.

Install secrets-management

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill