Authentication
Authentication #
Learn how to authenticate with the LLMITE API.
API Keys #
LLMITE uses API keys for authentication. You can manage your API keys from the dashboard.
Getting Your API Key #
- Log in to your LLMITE dashboard
- Navigate to “Settings” → “API Keys”
- Click “Generate New Key”
- Copy and securely store your key
**Security Notice** Never share your API keys publicly or commit them to version control. Store them securely as environment variables.
Using API Keys #
Include your API key in the Authorization header:
|
|
Authentication Methods #
Bearer Token (Recommended) #
|
|
Query Parameter (Not Recommended) #
|
|
**Warning** Using API keys in query parameters is not recommended as they may be logged by servers and proxies.
Environment Variables #
Store your API key as an environment variable:
|
|
Then use it in your applications:
|
|
Key Management #
Best Practices #
- Rotate keys regularly (every 90 days recommended)
- Use different keys for different environments
- Monitor key usage in the dashboard
- Revoke unused or compromised keys immediately
Key Scopes #
API keys can have different scopes:
- Read Only - Can only read data
- Read/Write - Can read and modify data
- Admin - Full access to account features
Revoking Keys #
To revoke an API key:
- Go to “Settings” → “API Keys”
- Find the key you want to revoke
- Click “Revoke”
- Confirm the action
**Note** Revoking a key will immediately disable all applications using that key.