Create a key
- Sign in to the NexusAPI console.
- Open Token Management or API Key Management.
- Select Add token.
- Give the token a recognizable name.
- Choose a token group.
- Set an appropriate limit or restriction for its purpose.
- Submit, then copy the generated API key.
Recommended settings
Use the key
Send the key in theAuthorization header:
Keep it safe
- Never commit an API key to a public repository.
- Do not share a full key in screenshots, support tickets, or chat logs.
- Use a separate key for each project, person, and environment.
- In production, load it from environment variables or a secret manager instead of source code.
- Review usage logs regularly. Disable a key immediately if you see unexpected use.
- If a key may be exposed, disable or delete it first, create a replacement, and update the affected applications.
API key and other credentials
Treat the system access token as a secret too. Do not put either credential in a URL query string or send it in full to support.
