Skip to main content
An API token authenticates requests to the Nuon Control Plane API. Use one to call the API, drive the CLI in CI/CD, or integrate Nuon into your own product.

Token properties

Each API token is backed by a dedicated machine identity in your org. For a named, reusable machine identity that you manage explicitly and can mint multiple tokens for, use a service account instead. Creating and managing API tokens requires org admin access.

Managing tokens

You can manage tokens using both the Dashboard and the CLI. In the dashboard, go to Settings → API tokens → Create token. In the CLI, use the following commands.

Creating a token

Create a token granting access to your current org:
By default, tokens will be read-only and expire after one year. Override these if you need admin access or a different expiration:
Tokens are shown only once at creation time. Store the value somewhere safe (a secret manager or CI secret); you cannot retrieve it again later.

Listing tokens

View all active tokens in the org.

Revoking tokens

Delete a token to revoke its access immediately.

Using a token

To use a token, include it in API requests as a Bearer credential in the Authorization header:
You can also use a token with the CLI by setting it as the value of the NUON_API_TOKEN environment variable or the api_token config value.