Hi GrowthBook team, I had a query regarding the st...
# announcements
h
Hi GrowthBook team, I had a query regarding the storage of pvt keys of BigQuery. Are they stored in mongo? and If so what algorithm is used for encrypting it?
f
Hi Vinod, I can be stored in mongo or with env variables. We use AES encryption
h
thanks!
btw, what would be the environment variables for BigQuery?
f
you can set that yourself if you are self hosting: https://docs.growthbook.io/self-host/config#configyml
(in that example, we use :
Copy code
password: ${POSTGRES_PW} # use env for secrets
)
f
If you are self hosting, you can also use auto authentication from either GCP metadata or an env variable.
Copy code
GOOGLE_APPLICATION_CREDENTIALS="/path/to/keyfile.json
If you do that, no credentials are stored in Mongo at all.
h
Thanks Jeremy