Skip to main content
  1. About
  2. For Teams
Asked
Modified 2 years ago
Viewed 128 times
Part of Google Cloud Collective
0

I have two endpoints in a cloud run java application as below

1) https://<serviceName>-<projectHash>-<region>.run.app/v1/blah

2) https://<serviceName>-<projectHash>-<region>.run.app/v1/webhook

The first one needs to be authenticated via a service account and the second one should bypass authentication via service account rather a token or a secret is passed to ensure that the incoming requests are from authorized services. Currently is this possible via Api gateway using static api key but is there any better solution for this?

1
  • 1
    You can't do that with Cloud Run. You need an addition layer to manage the security (API Gateway, APIGEE, whatever, but not in Cloud Run)
    guillaume blaquiere
    –  guillaume blaquiere
    2023-09-26 16:42:28 +00:00
    Commented Sep 26, 2023 at 16:42

1 Answer 1

0

As per answer of @guillaumeblaquiere:

You can't do that with Cloud Run. You need an additional layer to manage the security (API Gateway, APIGEE, whatever, but not in Cloud Run)

You can check the following documentation for your reference:

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Post as a guest

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.