docs
docs copied to clipboard
Support environment variables or secrets for PostHog integration API key
Hi Mintlify team 👋
I’m adding a PostHog integration and following the documentation provided. The current setup requires including the apiKey directly in the config:
"integrations": {
"posthog": {
"apiKey": "YOUR_POSTHOG_PROJECT_API_KEY",
"apiHost": "optional"
}
}
I’d like to avoid committing the API key to source control for security reasons. Is there a way to use environment variables or a secrets manager to reference the key instead of hardcoding it?
If this isn’t currently supported, I’d love to request this as a feature — it would be really helpful for teams trying to keep secrets out of versioned configs.
Thanks for the great tool!