Secure Credential Handling

Store and manage credentials with per-project isolation and leak prevention.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/qenex-ai/project-context-manager --skill secure-credential-handling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Secure Credential Handling
Source: https://github.com/qenex-ai/project-context-manager/tree/main/skills/secure-credential-handling
Command: npx skills add https://github.com/qenex-ai/project-context-manager --skill secure-credential-handling

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Stores and manages credentials securely across platforms with per-project isolation and leak-prevention.

Core Features & Use Cases

  • Cross-platform keychain integration (macOS Keychain, Linux Secret Service, Windows Credential Manager) for per-project isolation.
  • Leak prevention across commands, git history, and file writes to prevent credential leakage.
  • Rotation, retrieval, and lifecycle management of API keys, private keys, OAuth tokens, and database credentials.

Quick Start

Store credentials securely in the project keychain with a single command.

Frequently Asked Questions about Secure Credential Handling

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

FAQPage Schema
How do I store API keys securely so they stay isolated per project?

To store API keys securely with per-project isolation, use cross-platform keychain integration that separates credentials by project scope. This ensures each project's secrets remain compartmentalized within the native OS keychain, preventing cross-project access.

What's the best way to prevent credential leakage in git history and file writes?

Preventing credential leakage requires multi-layer leak prevention across commands, git history, and file writes. This mechanism intercepts secret outputs before they reach version control or logs, blocking accidental exposure of API keys and OAuth tokens.

How do I rotate OAuth tokens and database credentials securely across different platforms?

Rotating OAuth tokens and database credentials securely is handled through built-in rotation and retrieval workflows. These scripts manage the lifecycle of secrets across macOS Keychain, Linux Secret Service, and Windows Credential Manager automatically.

Does secure credential handling work with macOS Keychain, Linux Secret Service, and Windows Credential Manager?

Yes, secure credential handling supports cross-platform keychain integration with macOS Keychain, Linux Secret Service, and Windows Credential Manager. It manages private keys and tokens natively on all three operating systems with per-project isolation.

How do I retrieve private keys from the project keychain without exposing them in the terminal?

Retrieving private keys from the project keychain safely uses dedicated retrieval workflows that prevent terminal exposure. The leak prevention layer intercepts credential output during retrieval, ensuring secrets are passed securely without plaintext display.

When do I need per-project isolation for managing database credentials?

Per-project isolation for managing database credentials is needed when working across multiple environments or client projects. It prevents credential cross-contamination by scoping API keys and tokens to their specific project context within the local keychain.