Find your Novu application identifier, secret key, and API hostnames, and rotate secret keys without downtime using rolling rotation.
Novu provides a set of keys and hostnames that your application uses to authenticate requests, send events to the Novu API, and to interact with the <Inbox />.Your API keys are environment specific and allow Novu to tie all request to a particular Novu environment.
The Application Identifier is a unique identifier for your application within Novu. It is considered a public key and is safe to expose in client-side code.The application identifier is used to initialize the <Inbox /> component.
The Secret Key is a private token used to authenticate and authorize requests sent to the API service. It proves that your application is allowed to access resources.This key grants full administrative access to your account. It should never be used in publicly accessible code, such as frontend applications or public repositories (GitHub, GitLab).
Keep your secret key private.
You can regenerate the secret key from the API Keys dashboard. This will invalidate the old key and require you to update your environment variables.
Rolling rotation lets you replace a secret key without downtime by keeping two active keys during the switchover. You generate a second key, roll your applications over to it, and then delete the old key once nothing is still using it.An environment can have at most two active secret keys at any time, and at least one key must always exist.