'Is it possible to migrate .env to GCP Secret Manager?

I have a Nuxt.js application with firebase integration deployed on GKE in GCP. I use .env file with firebase config. Is it possible to store these firebase config values in GCP Secret Manager and use these values during npm build?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source