Skip to content
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

metrics: use Application Default Credentials (ADC) with attached service account for Cloud Run #3789

Closed
trivikr opened this issue Jun 27, 2024 · 0 comments · Fixed by #3779
Closed

Comments

@trivikr
Copy link
Member

trivikr commented Jun 27, 2024

Is your feature request related to a problem? Please describe.

I couldn't come across any documentation, when diving deep on #3697
While doing peer programming with @targos, I ended up copying metrics-processor-service-key.json from previous Dockerfile mentioned in #3767 (comment)

However, there's a better way of providing Application Default Credentials (ADC) using already available service account [email protected]

Describe the solution you'd like

Attached service account when deploying Cloud Run

gcloud run deploy processlogs --image gcr.io/nodejs-org/processcloudflare:latest --service-account [email protected] --region us-central1 --no-allow-unauthenticated

Remove steps for copying metrics-processor-service-key.json, and create Client without any params.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant