-
Notifications
You must be signed in to change notification settings - Fork 26
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
Reference secrets from Cloud Run directly #143
Comments
Hi Mark, Thanks for making Google Cloud available for R, really great. I had a question about the Secrets. I have a Plumber function where I want to download a file from a gcs bucket, and interface with some other api's (like github). What is the recommended way to do the authentication for gcs buckets? Below is some example code. Would I need to add a I use cr_deploy_plumber() to deploy the code. ... If I try I see in the logs a error message with
Thanks for your help.
|
For buckets I suggest making sure the Cloud Run service account has auth access to the bucket as well, then auth via googleAuthR/gargle gar_gce_auth() to reuse the auth running in the environment. This should mean you can avoid uploading service keys etc. |
Thanks for the promt response. Should I pass in the cloudrunner service account? e.g. |
Helpful for env variables, auth files etc, will mean less buildsteps for deploying Cloud Run workflows
https://cloud.google.com/run/docs/configuring/secrets
The text was updated successfully, but these errors were encountered: