返回 Skill 列表
extension
分类: 安全与合规需要 API Key

Mema Vault

安全凭证管理器,使用 AES-256 (Fernet) 加密。通过强制的 Master Key 存储、检索和轮换密钥。用于管理 API 密钥...

person作者: 1999azzarhubclawhub

Mema Vault

Prerequisites

  • Master Key: Must be set as an environment variable MEMA_VAULT_MASTER_KEY.
  • Dependencies: Requires cryptography Python package.

Core Workflows

1. Store a Secret

Encrypt and save a new credential.

  • Usage: python3 $WORKSPACE/skills/mema-vault/scripts/vault.py set <service> <user> <password> [--meta "info"]

2. Retrieve a Secret

Fetch a credential. By default, the password is masked in output.

  • Usage: python3 $WORKSPACE/skills/mema-vault/scripts/vault.py get <service>
  • Show Raw: Use --show flag only when required for secure injection.

3. List Credentials

  • Usage: python3 $WORKSPACE/skills/mema-vault/scripts/vault.py list

Security Standards

  • Encryption: AES-256 CBC via PBKDF2HMAC (480,000 iterations).
  • Masking: Secrets are masked in standard logs/output unless explicitly requested.
  • Isolation: The Master Key should never be stored in plaintext on disk.