Skip to content
RED SAGSkills
easy5 pts · first answer countsnextjssecrets-management

Renaming a secret to NEXT_PUBLIC_

A client component shows undefined for process.env.STRIPE_SECRET_KEY, so a developer renames it to NEXT_PUBLIC_STRIPE_SECRET_KEY and it starts working. What is wrong?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions