This is the test site to verify the process of storing environmental variables in macOS's Keychain Access app during local development of a Nextjs app then switching to stored ENV variables automatically when moving to production. The goal is to avoid storing credentails in plaintext files during development.
The output of each of these examples is pulled from Envoirnment variables set in the Netlify web GUI.
Details on the setup are here
The code is stored in this repo
If you'd like to reach out, I'm TheIdOfAlan on Twitter.