Skip to content

resolveToken

const resolveToken: TokenResolver

Defined in: plugins/holocron-plugin-posthog/src/auth.ts:7

Resolves the PostHog personal API key from --token, HOLOCRON_POSTHOG_TOKEN, POSTHOG_PERSONAL_API_KEY or the keyring, and throws an AuthError when none is set.