to one single secret/env var? I have like 50 env vars, am I supposed to literally create these secrets one by one? isn't there a way to upload a .env to GCP?
pretty sure you can use gcloud api to create secrets. every single cloud provider has public API
I believe all cloud secret manager have the capability to store JSON file as secret. so, your deployment script just need to read the JSON file secret, then iterate each key and write it into an .env file. example: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html#reference_secret_json_structure_rds-maria
that is one way, but I think I would go with doppler.com for secrets management
AWS has, task definitons are much easier to work with
Обсуждают сегодня