Creating an API Key
1
Navigate to Settings > API Keys
Open the API key management page from the Settings menu.
2
Click Create API Key
Click Create API Key to open the key creation form.
3
Name the key
Give the key a descriptive name that identifies its purpose (e.g., “CI/CD Pipeline - Production”, “Internal Dashboard”, “Audit Export Script”).
4
Set permissions
Select the access level for the key. Choose the minimum permissions required for its intended use.
5
Set environment scope (optional)
If your organization uses multiple environments, scope the key to specific environments.
6
Set expiration (optional)
Configure an expiration date for the key. Expiring keys are a security best practice.
7
Create and copy the key
Click Create. The full API key is displayed once. Copy it immediately and store it securely.
Key Permissions
API keys can be configured with different permission levels:Environment Scoping
If your organization manages separate environments (production, staging, development), you can scope API keys to specific environments:- Production — Key can only access production compliance data
- Staging — Key can only access staging environment data
- All environments — Key can access data across all environments
Managing API Keys
Viewing Active Keys
The API Keys page displays all active keys with:Revoking a Key
To immediately disable an API key:- Find the key in the API Keys list.
- Click Revoke.
- Confirm the action.
Revoking a key is permanent. If you need the same access restored, create a new key and update the consuming system with the new credentials.
Key Rotation
Regular key rotation limits the impact of a compromised key. The recommended rotation process:1
Create a new key
Create a new API key with the same permissions as the key being rotated.
2
Update the consuming system
Replace the old key with the new key in your integration, CI/CD pipeline, or script.
3
Verify the new key works
Confirm that the consuming system operates correctly with the new key.
4
Revoke the old key
Once the new key is verified, revoke the old key.
Using API Keys
Include the API key in theAuthorization header of your HTTP requests:
Common Use Cases
Security Best Practices
- Never commit API keys to version control. Use environment variables or a secrets manager.
- Use read-only keys whenever possible. Most integrations do not need write access.
- Set expiration dates. Keys without expiration dates become a security risk over time.
- Monitor the “last used” timestamp. Keys that have not been used in 90+ days should be reviewed and potentially revoked.
- Rotate keys regularly. Replace keys at least annually, or every 90 days for high-privilege keys.
- Revoke keys immediately when no longer needed. Do not leave unused keys active.
API Key Audit Trail
LowerPlane logs all API key management actions:- Key creation (who created it, when, with what permissions)
- Key usage (last used timestamp, request count)
- Key revocation (who revoked it, when)