密钥管理器集成
integrating-secrets-managers
该技能使 Claude 能够无缝集成各种密钥管理器,如 HashiCorp Vault 和 AWS Secrets Manager。它会生成配置和设置代码,确保遵循安全凭证管理的最佳实践。在……时使用此技能。
- License 许可
- MIT
- 最近更新
- 2025-12-18
- Stars
- ★ 29
- Forks
- 9
01 前言 Front Matter
- name
- integrating-secrets-managers
- license
- MIT
- description
- This skill enables claude to seamlessly integrate with various secrets managers like hashicorp vault and aws secrets manager. it generates configurations and setup code, ensuring best practices for secure credential management. use this skill when...
- allowed-tools
- [ "Read", "Write", "Edit", "Grep", "Glob", "Bash" ]
02 资源文件 10
- 资产文件assets/aws_iam_policy_template.json2.4 KB
- 资产文件assets/example_secrets.yaml3.0 KB
- 资产文件assets/README.md310 B
- 资产文件assets/vault_config_template.hcl2.5 KB
- 参考文档references/README.md384 B
- 脚本scripts/aws_secrets_manager_setup.sh2.6 KB
- 脚本scripts/generate_image.py8.6 KB
- 脚本scripts/README.md407 B
- 脚本scripts/secrets_rotation.py2.8 KB
- 脚本scripts/vault_config_generator.py2.8 KB
03 SKILL.md 正文
Overview
This skill empowers Claude to automate the integration of secrets managers into your infrastructure. It generates the necessary configuration files and setup code, ensuring a secure and efficient workflow for managing sensitive credentials.
How It Works
- Identify Requirements: Claude analyzes the user's request to determine the specific secrets manager and desired configurations.
- Generate Configuration: Based on the identified requirements, Claude generates the appropriate configuration files (e.g., Vault policies, AWS IAM roles) and setup code.
- Provide Instructions: Claude provides clear instructions on how to deploy and configure the generated code and integrate it into the existing infrastructure.
When to Use This Skill
This skill activates when you need to:
- Integrate HashiCorp Vault into your infrastructure.
- Set up AWS Secrets Manager for secure credential storage.
- Generate configuration files for managing secrets.
- Implement best practices for secrets management.
Examples
Example 1: Integrating Vault with a Kubernetes Cluster
User request: "Integrate Vault with my Kubernetes cluster for managing database credentials."
The skill will:
- Generate Vault policies for accessing database credentials.
- Create Kubernetes service accounts with appropriate annotations for Vault integration.
- Provide instructions for deploying the Vault agent injector to the Kubernetes cluster.
Example 2: Setting up AWS Secrets Manager for API Keys
User request: "Set up AWS Secrets Manager to securely store API keys for my application."
The skill will:
- Generate an IAM role with permissions to access AWS Secrets Manager.
- Create a Secrets Manager secret containing the API keys.
- Provide code snippets for retrieving the API keys from Secrets Manager within the application.
Best Practices
- Least Privilege: Generate configurations that grant only the necessary permissions for accessing secrets.
- Secure Storage: Ensure that secrets are stored securely within the chosen secrets manager.
- Regular Rotation: Implement a strategy for regularly rotating secrets to minimize the impact of potential breaches.
Integration
This skill can be used in conjunction with other skills for deploying applications, configuring infrastructure, and automating DevOps workflows. It provides a secure foundation for managing sensitive information across your entire infrastructure.
04 同仓库更多 Skills
UI 视觉回归测试
testing-visual-regression
使用截图比较检测 UI 组件中的视觉变化。 在检测意外的 UI 更改或像素差异时使用。 用“测试视觉变化”、“比较截图”或“检测 UI 回归”等短语触发。
单元测试自动生成
generating-unit-tests
从源代码自动生成全面的单元测试,覆盖正常路径、边界条件和错误情况。 在为函数、类或模块创建测试覆盖时使用。 用“生成单元测试”、“为…创建测试”或“添加测试覆盖”等短语触发。
测试报告生成与可视化
generating-test-reports
生成包含指标、覆盖率和可视化内容的全面测试报告。 在执行专项测试时使用。 用“生成测试报告”、“创建测试文档”或“显示测试指标”等短语触发。
测试执行编排与协调
orchestrating-test-execution
协调跨多个环境和框架的并行测试执行。 在执行专项测试时使用。 用“编排测试”、“运行并行测试”或“协调测试执行”等短语触发。
managing-test-environments
Provision and manage isolated test environments with configuration and data. Use when performing specialized testing. Trigger with phrases like "manage test environment", "provision test env", or "setup test infrastructure".
generating-test-doubles
Generate mocks, stubs, spies, and fakes for dependency isolation. Use when creating mocks, stubs, or test isolation fixtures. Trigger with phrases like "generate mocks", "create test doubles", or "setup stubs".