secure-key-manager

Encrypt API keys and credentials with AES-256-GCM and PBKDF2HMAC.

28|13|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/wulaosiji/skills --skill secure-key-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: secure-key-manager
Source: https://github.com/wulaosiji/skills/tree/main/secure-key-manager
Command: npx skills add https://github.com/wulaosiji/skills --skill secure-key-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cryptography, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the critical security vulnerability of storing API keys and sensitive credentials in plain text within configuration files like TOOLS.md.

Core Features & Use Cases

  • Encrypted Storage: Utilizes AES-256-GCM encryption with PBKDF2HMAC for secure key derivation.
  • Runtime Access: Keys are decrypted only when needed, minimizing exposure.
  • Output Sanitization: Automatically detects and redacts sensitive information in output to prevent accidental leaks.
  • Use Case: Protect your Brave Search API key by storing it encrypted, and ensure that any output containing it is automatically sanitized before display.

Quick Start

Initialize the secure key manager by running python3 key_manager.py init in the skill's directory.

Frequently Asked Questions about secure-key-manager

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

FAQPage Schema
How do I securely store API keys and prevent plaintext exposure in configuration files?

To prevent plaintext exposure of API keys, you can use AES-256-GCM encryption with PBKDF2HMAC for secure key derivation. This approach encrypts sensitive credentials at rest and only decrypts them dynamically at runtime when needed, mitigating risks of storing them in plain text files.

How do I initialize a secrets management system for encrypting sensitive credentials?

To initialize the secrets management system, navigate to the skill's directory and run `python3 key_manager.py init`. This sets up the encrypted storage infrastructure required to securely manage your API keys and passwords using AES-256-GCM.

Can I automatically redact sensitive information like passwords in command output?

Yes, you can automatically redact sensitive information like passwords in command output. The system performs automatic output sanitization that detects and redacts sensitive credentials before display, preventing accidental leaks of secrets like API keys.

Does the cryptography library support AES-256-GCM and PBKDF2HMAC for key management?

Yes, the cryptography library supports AES-256-GCM and PBKDF2HMAC for key management. The system depends on this library to provide encrypted storage and secure key derivation for managing sensitive credentials.

What is the best way to protect API keys in plain text files like TOOLS.md?

The best way to protect API keys in plain text files is to use an encrypted key manager. This system replaces plain text storage in files like TOOLS.md with AES-256-GCM encryption, ensuring keys are only decrypted at runtime.

Why does runtime dynamic retrieval help mitigate security risks for secrets management?

Runtime dynamic retrieval mitigates security risks for secrets management by minimizing exposure. Keys are decrypted only when needed during execution, rather than remaining persistently decrypted, reducing the window for unauthorized access.