Skip to content

Conversation

@4rthem
Copy link
Contributor

@4rthem 4rthem commented Nov 24, 2025

What changed? Why was the change needed?

Add API endpoind to update API key of an environment.
Need to update the API key from the NOVU_SECRET_KEY env var.

@netlify
Copy link

netlify bot commented Nov 24, 2025

👷 Deploy request for dashboard-v2-novu-staging pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 814f25a

@scopsy
Copy link
Contributor

scopsy commented Nov 25, 2025

@4rthem could you please share a little bit on your usecase for this? API Keys could not be updated, as they are auto generated by the system. (Could be regenerated tho)

@4rthem
Copy link
Contributor Author

4rthem commented Nov 25, 2025

@scopsy We have a Docker Compose stack, and we need every service to be able to connect to each other (including Novu) as soon as they start. The issue with generated API keys is that we have to update the environment variables after the Novu environment is created. Instead, we need a predictable secret so that services can connect on the first run.

Ideally, Novu would honor a NOVU_SECRET_KEY or DEFAULT_NOVU_SECRET_KEY, similar to how other tools handle predefined secrets, for example:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants