PostHog · Cloud EU

How an agent gets a PostHog · Cloud EU key through KeyKeeper, what to choose on eu.posthog.com, and how KeyKeeper verifies it.

Template idposthog-eu
Fieldposthog-personal-api-key → POSTHOG_PERSONAL_API_KEY · secret
Alsoposthog-host → POSTHOG_HOST · plain, confirmed by you
Key looks likestarts with phx_, shown once when created
Created ateu.posthog.com
Verified by KeyKeepernot verified
Template checked2026-09-15

What the agent does

keykeeper providers show posthog-eu
keykeeper save --provider posthog-eu --from-clipboard --create --purpose "what this task does"
keykeeper run -c posthog-eu -- <your command>

--provider posthog-eu fills in the credential id and the fields. The environment variables are the ones PostHog's own tools read, so nothing has to be mapped.

What only you can do

Sign in to PostHog Cloud EU
Create a personal API key
Select only the required organization/project scopes
Copy the key, then approve the save in KeyKeeper's window.

What to choose

Restrict the personal API key to the target project and read-only scopes for analytics.

The agent is told the same thing. It opens the page for you and says what to pick; it never logs in, passes 2FA or pays on your behalf.

What KeyKeeper checks

  • Before writing: the value must look like a PostHog · Cloud EU key (starts with phx_, shown once when created). A wrong paste is refused before anything is stored, and the agent is told why — without the value.
  • After saving: PostHog · Cloud EU offers no read-only endpoint KeyKeeper can use, so the first real call is the test.

Rotation and expiry

No universal expiry policy was confirmed for this credential type. Record the date shown by the provider, or leave it unknown. Rotate or revoke at eu.posthog.com.