API
API Keys

API Keys

API keys authenticate requests to the Redu Cloud API.

Treat them as secret credentials.


Create an API Key

  1. Open the Console:
https://console.redu.cloud
  1. Navigate to:
https://console.redu.cloud/category/user/api-keys
  1. Click Generate API Key
  2. 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_KEY

Example:

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:

  1. Generate a new key
  2. Update your applications
  3. Verify requests succeed
  4. 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