New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Secret Manager] Secret Manager Integration #58
Comments
looks like gcp support secret manager integration in preview should have a beta flag where we can enable some of these features. |
looks like it is only supported for gcloud cli and the console for now. will continue to monitor for the v1beta api to include this feature |
interesting. goblet actually calls the rest api directly via https://cloud.google.com/functions/docs/reference/rest, so i am wondering if there is another library that handles the secret volumes . their docs only show console and gcloud https://cloud.google.com/functions/docs/configuring/secrets#making_a_secret_accessible_to_a_function |
Secrets in Cloud Functions are finally in GA 🥳 |
Interestingly, goblet supports secrets already with the will continue to look into secret support for the |
looks like secrets are added to v1 endpoints now https://cloud.google.com/functions/docs/reference/rest/v1/projects.locations.functions |
A built in integration with Secret Manager to inject secrets into cloudfunctions. Currently the options are to supply env variable, or to write the secret manager logic yourself.
example config.json
with default being
projects/{project_id}/secrets/{secret_name}/versions/latest
then in your code you would use
config.secrets
to accessThe text was updated successfully, but these errors were encountered: