Keys belong to the resource owner’s customer account. A key created through organization collaboration also carries that organization context. You do not need an organization to create a personal key.
Server API Key
- Open Servers and select the registered server.
- Under Server API Key, click Generate API key.
- Copy the secret from the one-time dialog.
- Add it before your resource
ensurelines:
FIVEMESH_SERVER_ID.
A Server API Key can upload to the owner’s CDN, but cannot list, delete or purge CDN objects. Use a Developer API Key for those actions or for restricted CDN path access.
Rotate or revoke a Server API Key
Open the server’s Server API Key panel and choose Rotate API key or Revoke API key. Review the confirmation. Rotation invalidates the previous key immediately. Replace it in every SDK or viewer configuration that uses it, then restart the affected resources. Revocation stops authenticated requests until a replacement key is configured.Developer API Keys
Open Developers → API Keys (/developers/api-keys) in the dashboard and create a new key.
- Give it a descriptive name.
- Choose Global - all servers or Specific server.
- Choose all CDN paths or specific path prefixes when using CDN.
- Select a permission preset or customize the allowed actions.
- Review the scope and copy the secret immediately after creation.
Global and server-specific scope
- A specific-server key cannot query or ingest Logs for another server. The SDK resolves its cfx.re ID automatically.
- A global key covers the resource owner’s servers. For SDK Logs features, set
FIVEMESH_SERVER_IDto the server’s cfx.re join code. - CDN belongs to the customer account. A server binding alone does not isolate CDN folders; choose path prefixes to restrict media access.
CDN path prefixes
Restrict a key to the media paths its script uses, for example:Permission areas
A dashboard permission does not imply that a public REST endpoint exists. Use the API reference for supported public routes.