GoogleCloudPlatform / GoogleCloudPlatform/esp-v2
Example for requesting service to service with Cloud Run to Cloud Endpoint
- Dominant language
- Go
- Stars
- 307
- Forks
- 185
- Avg merge
- 14h 45m
- Merged PRs (30d)
- 6
Description
Currently, I'm working on using a cloud endpoint with my service, and I am able to deploy a service with espv2.
My question is, does anyone have an example for generating a token in a service that deploys in Cloud Run to request a Cloud endpoint?
This example will not work in cloud run since we cannot access private key to encrpt.
https://cloud.google.com/endpoints/docs/openapi/service-account-authentication
Contributor guide
Research direction
Start with the linked Cloud Endpoints service-account authentication guide and compare its private-key approach with the Cloud Run constraints described here. Document a concrete service-to-service authentication example that works from Cloud Run when calling a Cloud Endpoint, and explain how to verify the request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- google-cloud
- Domain
- api, cloud, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100