Handle Secrets

Best practices for handling user-provided secrets in CLI tools. Use when: (1) building CLI tools that accept API keys, tokens, or passwords from users, (2) reviewing secret-handling code for security issues, (3) choosing between input methods (env vars, stdin, keychains, config files), (4) implementing credential storage or retrieval. Covers the security hierarchy of input methods, credential storage patterns, secret masking, and language-specific libraries.

cboone 1444dcb 6 files · 26.6 KB Updated

File contents

cboone/agent-harness-plugins/tree/main/plugins/handle-secrets/skills/handle-secrets commit 1444dcb705

Frequently asked questions

npx skillmds@latest add cboone/handle-secrets