Authentication¶
Learn how to authenticate with the Konigle API.
API Key Authentication¶
The SDK uses API key authentication:
Environment Variables¶
For security, it's recommended to store your API key in an environment variable:
import os
from konigle import KonigleClient
api_key = os.getenv("KONIGLE_API_KEY")
client = KonigleClient(api_key=api_key)
Security Best Practices¶
Keep your API key secure
- Never commit API keys to version control
- Use environment variables or secure credential storage
- Rotate your API keys regularly