API Keys
Securely authenticate your API requests.
Creating API Keys
API keys authenticate your requests to Serla. Generate keys from the API Keys page in your dashboard.
Key Types
Serla supports two types of API keys:
- •Test Keys - Use in development. Prefixed with
sk_test_ - •Live Keys - Use in production. Prefixed with
sk_live_
Security Best Practices
- •Never commit API keys to version control
- •Store keys in environment variables
- •Rotate keys periodically
- •Revoke unused or compromised keys immediately
- •Use separate keys for each environment
Revoking Keys
If a key is compromised or no longer needed, revoke it immediately from the API Keys page. Revoked keys cannot be restored - you'll need to create a new key.