Vercel/Clerk - NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
Unanswered
Scarlet Ibis posted this in #help-forum
Scarlet IbisOP
Hey,
Is it safe to put it there? I'm new to coding and next
Is it safe to put it there? I'm new to coding and next
9 Replies
yes
its name says publishable
as long as you don't expose your secret key, you should be safe
@Yi Lon Ma yes
Scarlet IbisOP
I have NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY in vercel, but it gives me error 500
But it is gone when I add the CLERK_SECRET_KEY, why?
But it is gone when I add the CLERK_SECRET_KEY, why?
@Yi Lon Ma you need both of the keys
Scarlet IbisOP
so its safe to put both of them in Environment Variables
?
?
that's what env variables are for
as long as you don't intentionally mark them as public unless needed
@Yi Lon Ma that's what env variables are for
Scarlet IbisOP
I see, thank you!