128 questions
0
votes
1
answer
72
views
Apigee Mock Response Not Triggering for Specific Error Status Code (400) in Flow
I am working with Apigee API Gateway and trying to configure a mock response for a specific scenario. Here's the problem:
I have an API endpoint /api/v1/XXXX/id/profile that returns profile data of a ...
0
votes
0
answers
101
views
Quota Limits Not Respected When Using x-api-key Header in API Gateway
I have configured my openapi.yaml to restrict access to one of the API endpoints with the following quota settings:
x-google-management:
metrics:
- name: "read-requests"
...
1
vote
1
answer
686
views
FastAPI and GCP API Gateway
I have a backend developed in FastApi using OpenAPI 3.0. It's hosted in GCP Cloud. The FastAPI is auto-documented (Swagger UI), and it's exposed to internet.
Now, I am deploying a GCP API Gateway in ...
0
votes
1
answer
472
views
Google Cloud API Gateway API Key Authentication Not Working
I've been having some trouble getting my API to work only with API key authentication.
I have deployed a Cloud Run app for a simple flask API that returns "hello world", requiring ...
0
votes
1
answer
530
views
GCP API Gateway - Authentication jwt
I want to use my Google Functions through API Gateway with the same behaviour, just with a clean API.
Since the beginning, I'm calling functions with this method:
curl "https://URL-OF-FUNCTION/...
0
votes
1
answer
58
views
Getting "getaddrinfo ENOTFOUND 500" error while invoking GCP apigw-2.com/api2 from GCP cloud run micro-1.com/api1
At present we have the below integration flow
angular app -> GCP apigw-1.com/api1 -> GCP cloud run micro-1.com/api1 -> GCP cloud run apigw-2.com/api2
we can invoke below without issues
...
1
vote
1
answer
123
views
Need design suggestions about role-based authorization
Below is the architecture of a project that I am working on. And I have some questions about how to implement role-based authorization.
What do I want to do here?
I want to make a shared system to ...
1
vote
0
answers
221
views
Is there a way to get an oauth2 "access_token" to Google API with my JSON credential file?
I'm trying for long hours to make a simple HTTP Post request for one of google's REST API.
(Specifically the image text predict one, using model imagetext@001)
I'm supposed to send an "...
0
votes
1
answer
159
views
Is there a way of checking the SA used in a Google API Gateway?
I create an Google API Gateway recently with Terraform to create it associated with a custom SA that will handle the IAM between the backends and the API.
Now that's created I can't find a way to ...
0
votes
0
answers
319
views
API Gateway GCP - proxy to not-gcp endpoint
I couldnt find example in documentation.
I work with API Gateway from GCP to use it for Cloud Functions/Cloud Run etc, all are part of GCP infra.
But now I want to have external URL
I know they are ...
1
vote
0
answers
363
views
GCP API Gateway: Do unauthenticated calls count towards usage for billing
I have setup a simple API on API Gateway and restricted access to it via API Keys. Now, if a user calls the API with a missing/invalid key, would that count towards billing (https://cloud.google.com/...
0
votes
0
answers
908
views
How to report activity by individual API keys in Google Cloud > Google Maps Platform?
We've experienced an issue recently where Google Cloud billing increasing greatly due to increased access to our Places API.
It turns out that we'd not properly used Credentials to restrict usage of ...
1
vote
2
answers
494
views
API Key Authentication stops working when Firebase Authentication is added in Swagger (OpenAPI 2.0) for GCP Cloud Functions
I'm working with a Swagger 2.0 (OpenAPI 2.0) specification for my Google Cloud Function API, and I am facing an issue with the authentication part of the configuration. I have initially set up API key ...
0
votes
1
answer
432
views
How can I implement custom user authentication provider/service and forward response to backend using gRPC in API Gateway on Google Cloud?
I was reading the docs on API GATEWAY, but I couldn't find the solution for the problem:
What I am struggling to achieve is, I have multiple services on cloud run, and one service is the ...
0
votes
1
answer
291
views
If I implement a load balanced to have my domain. how do i block the automatically generated url for my api gateway?
I am implementing security to my Cloud Run services through an Api Gateway NEG and a load balanced
I need block the automatically generated url for my api gateway so that they only access my services ...