API Keys
API keys authenticate requests to the Redu Cloud API.
Treat them as secret credentials.
Create an API Key
- Open the Console:
https://console.redu.cloud- Navigate to:
https://console.redu.cloud/category/user/api-keys- Click Generate API Key
- Copy the key immediately
API keys are only shown once.
Use an API Key
Include it in every request using the x-api-key header:
x-api-key: YOUR_API_KEYExample:
curl https://api.redu.cloud/cloud/v1/me \
-H "x-api-key: YOUR_API_KEY"For full language examples, see Authentication.
Key Scope
API keys inherit the permissions of the user who created them.
If a user loses access to a project, their API keys lose access as well.
Key Rotation
To rotate a key:
- Generate a new key
- Update your applications
- Verify requests succeed
- Revoke the old key
Avoid deleting a key before confirming the replacement works.
Revoke an API Key
You can revoke a key at any time from the Console.
Revoked keys immediately lose access.
Security Best Practices
- Do not commit API keys to Git repositories
- Do not embed API keys in frontend applications
- Rotate keys periodically
- Revoke keys that are no longer in use