https://www.growthbook.io/ logo
h

hallowed-midnight-4935

05/11/2022, 6:01 AM
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

fresh-football-47124

05/11/2022, 6:06 AM
Hi Vinod, I can be stored in mongo or with env variables. We use AES encryption
h

hallowed-midnight-4935

05/11/2022, 6:53 AM
thanks!
btw, what would be the environment variables for BigQuery?
f

fresh-football-47124

05/11/2022, 8:41 AM
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

future-teacher-7046

05/11/2022, 10:14 AM
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

hallowed-midnight-4935

05/24/2022, 6:06 AM
Thanks Jeremy
2 Views