Generate and configure API keys to authenticate your applications with Cipherion's encryption services.
Ensure your project is created and you have the necessary permissions to generate API keys.
Click the button below to generate your API key. Make sure to copy and store it securely as it will only be shown once.
# .env file
CIPHERION_API_KEY=your_api_key_here
CIPHERION_PROJECT_ID=proj_abc123def456ghi789
CIPHERION_ENVIRONMENT=production
# Optional: API endpoint (defaults to production)
CIPHERION_API_ENDPOINT=https://api.cipherion.com/v1
curl -X POST https://api.cipherion.com/v1/encrypt \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": "test@example.com",
"data_type": "email"
}'
{
"success": true,
"encrypted_data": "cph_encrypted_...",
"data_type": "email",
"encryption_method": "field_level",
"request_id": "req_123456789"
}
Check that your API key is correctly formatted and has the required permissions.
You've exceeded your rate limits. Consider implementing exponential backoff or contact support to increase limits.
Your API key doesn't have permission for this operation. Review and update key permissions.