Secure Keys

Audit and lock down how AI tools hold API keys and credentials. Finds exposed keys across code, config files, .env files, environment variables, shell history, and git history; moves connections to OAuth / "Sign in with X" where one exists; migrates the rest into secure storage (macOS Keychain, a cloud secrets manager, or Cloudflare AI Gateway) with runtime retrieval instead of files; flags what to rotate; and tightens scope, spend caps, expiry, and IP rules. Trigger on "secure my keys", "audit my credentials/secrets", "find exposed API keys", "lock down my secrets", "key hygiene", "did I leak a key", or after wiring up an MCP server or a new integration.

ariaxhan d68181a 2 files · 4.6 KB Updated

File contents

ariaxhan/the-agent-library/tree/main/code-engineering/secure-keys commit d68181aa0e

Frequently asked questions

npx skillmds@latest add ariaxhan/secure-keys