Secret vs Public Key
Understanding the difference between secret and public API keys in Helicone. Learn about access levels, usage examples, and best practices.
Key Type | Access | Path Auth | Header Auth | REST API |
---|---|---|---|---|
Public | Write-Only | Yes | Yes | No |
Secret | Read + Write | Not Recommended | Yes | Yes |
Usage Examples
Ensure that secret keys are always kept secure and never exposed in client-side code.
Was this page helpful?