I am deploying my first application on the cloud and I'm trying to setup my env vars.
From what I understand, they are set in the app.yaml
file. But if that file is pushed to the repo, it would then contain the secret API keys which is bad..
I could treat the app.yaml
the same way I treat the .env
but the problem is, how can I set env vars for prod in a CI/CD pipeline?
I am using Cloud Build to run my build pipeline. I am coming from Bitbucket & Heroku and there doesn't seem to be a way to "set" the env vars for the build environment like on those two platforms.
So then, how can I make my .env variables available in my app without taking risks of pushing it on my repo?
Thank you for your help