Adding Project Secret API Key Auth

How to gate a PostHog API endpoint with project secret API key (PSAK) auth — a project-scoped, user-less service credential. Use when adding PSAK support to a viewset action, allowing a new scope for PSAKs, handling synthetic users (ProjectSecretAPIKeyUser), or choosing PSAK-aware rate throttles. Trigger terms: PSAK, ProjectSecretAPIKey, project secret API key, phs_ token, service auth, programmatic endpoint auth.

gabrielmoreira Updated 17 repo stars

File contents

gabrielmoreira/agent-skills-mirror/tree/main/mirrors/repos/PostHog@posthog/.agents/skills/adding-project-secret-api-key-auth commit 33d19e8ca3

Frequently asked questions

npx skillmds@latest add gabrielmoreira/adding-project-secret-api-key-auth