This skill provides specialized guidance for building production-grade API authentication systems based on research-backed patterns used by industry leaders like Stripe and GitHub. It assists developers in implementing human-readable prefixed API keys, secure server-side hashing, and zero-downtime rotation flows, while ensuring proper distinction between 401 and 403 status codes and guiding the correct choice between OAuth 2.0 and JWTs for delegated or stateless access.
주요 기능
01Zero-downtime rotation workflows supporting multiple simultaneous active keys.
02Standardized API key prefixing (e.g., sk_live_) for environment safety and secret scanning.
03Secure one-way SHA-256 hashing patterns for API key storage and verification.
04Implementation guides for OAuth 2.0 with PKCE and short-lived JWT validation.
05Fine-grained permission scoping based on the principle of least privilege.
069 GitHub stars
사용 사례
01Implementing delegated access via OAuth 2.0 for third-party integrations and app ecosystems.
02Building a developer-facing SaaS API with secure, human-readable keys.
03Migrating from opaque API keys to a robust, prefix-based system for better observability.