API Keys
EdgeFlow uses API keys for authentication. You can generate API keys from the Settings panel in the flow editor.
Generating an API Key
- Open the EdgeFlow editor
- Navigate to Settings → API Keys
- Click "Generate New Key"
- Copy and securely store your key
Using API Keys
Include the API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY JWT Tokens
For session-based authentication, use JWT tokens:
POST /api/v1/auth/login
Content-Type: application/json
{
"username": "admin",
"password": "your-password"
} Response
{
"token": "eyJhbGciOiJIUzI1NiIs...",
"expiresIn": 86400
} Security Best Practices
- Never expose API keys in client-side code
- Rotate keys periodically
- Use HTTPS in production
- Limit key permissions where possible