Next.js environment variables appearing as '****'

My netlify app is

Environment variables are appearing as ‘****’. Some of the environment variables can be used after deployment. But one of them isn’t.
It is STRIPE_PUBLISHABLE_KEY, whose value is a string of length 107. It is less than the current limit of maximum length for environment variables on netlify which is 256.

When I try to log the environment variables I get this


where as I have set the STRIPE_PUBLISHABLE_KEY to pk_test_928fh98f....

I need the exact value of the variable that I mentioned not the ‘****’, What am I missing? Any help is appreciated.

Hey there, @tararjawad :wave:

Thanks so much for reaching out, and welcome to the Netlify Forums! Apologies that you are encountering obstacles. Can you please share your project repo? Seeing your setup in more detail will help us look into this further.