GoogleCloudPlatform / GoogleCloudPlatform/esp-v2

Example for requesting service to service with Cloud Run to Cloud Endpoint

Open
#945 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.