Questions tagged [api-gateway]

A service which acts as a gateway for many other services. Providing discovery, registry, security, circuit breaker, fault tolerance among other things.

Useful links:

1246 questions
6
votes
2 answers

Custom Authentication Service in Kong API Gateway

We are currently analyzing the API gateway for our microservices and Kong is one of the possible candidate. We discovered that Kong support several plugins for authentication but the all based on users stored in Kong database itself. We need to…
Rahul Garg
  • 4,069
  • 1
  • 34
  • 31
5
votes
0 answers

Map AWS API GateWay HTTPIntegration header from Secrets Manager

I am using AWS API GateWay with a HTTPIntegration to map requests to an external API, injecting the external API key in the mapped request headers. I know I can provide a 'Mapped from' parameter based on i.e. the request or a string to provide the…
marcuse
  • 3,389
  • 3
  • 29
  • 50
5
votes
1 answer

How to deploy new Lambda functions to Stage of existing RestApi?

So, I cam across a lot of threads, but none of them solved my problem. I am trying to deploy Lambda functions to an existing RestApi with an existing DEV-Stage. My API is build like this: this.RestAPIDev = new gw.RestApi(this, 'StagingGatewayDev',…
5
votes
1 answer

Run Ambassador in local dev environment without Kubernetes

I am trying to run Ambassador API gateway on my local dev environment so I would simulate what I'll end up with on production - the difference is that on prod my solution will be running in Kubernetes. To do so, I'm installing Ambassador into Docker…
Kassem
  • 8,116
  • 17
  • 75
  • 116
5
votes
2 answers

How to set a time out in spring cloud gateway?

How to set a time-out in spring cloud gateway? routeLocatorBuilder.routes() .route("test-api", r -> r.path("/api/**")).uri(apiLb)) .route("test-doc", r -> r.path("/doc/**")).uri(docLb)); Is there a way to set a time out for just one…
Thirumal
  • 8,280
  • 11
  • 53
  • 103
5
votes
0 answers

Return a JSON response from API gateway AWS S3 integration's XML response

I've setup an API gateway integration for S3 that calls the ListBucket endpoint. This returns XML like bucketname
Tom
  • 1,546
  • 2
  • 20
  • 42
5
votes
0 answers

Authentication handling in microservices architecture - Lumen, Laravel and SPA

I am creating an application based on microservice-architecture. The application is for freelance related activities, so I have created a : Authentication Microservice which handles authentication (with Laravel) which also has the database for…
user12487137
5
votes
1 answer

Restrict acces to API Gateway endpoint to VPC in cloudformation

I'm trying to limit access to my API Gateway endpoints to requests from my VPC. There are examples of API Gateway Resource Policies, and even a Policy property on the RestApi resource, but I can't figure out how to write a policy that needs the…
5
votes
2 answers

What is the cause of FluentValidation Method Not Found exception?

I've got a Domain Driven Design solution and for some reason, I'm getting this exception at RunTime when the API call is made through GateWay: One or more errors occurred. (Method not found: 'Void…
E-A
  • 1,995
  • 6
  • 33
  • 47
5
votes
3 answers

AWS: serve multiple sites under the same domain

I own a domain name my-portal.com. I want to serve a static website from my-portal.com/site/a/. I want to serve another static website from my-portal.com/site/b/. How can I do that with resources that AWS provides? I was trying to setup two websites…
Girafa
  • 3,370
  • 3
  • 18
  • 33
5
votes
1 answer

Identityserver 4 and Ocelot

I'm trying to use Ocelot with IS4 following https://ocelot.readthedocs.io/en/latest/features/authentication.html When using public void ConfigureServices(IServiceCollection services) { var authenticationProviderKey = "TestKey"; …
tri
  • 191
  • 1
  • 3
  • 9
5
votes
2 answers

Serverless Shared API Gateway Error when deploying to different stages

I'm using serverless version 1.29.2 I have a created an initial cloudformation script that creates an API GateWay REST API that will be used by other services. So Here is the cloudformation script responsible for it. { …
KyelJmD
  • 4,682
  • 9
  • 54
  • 77
5
votes
0 answers

Support for multipart/form-data in Azure developer portal

On an Azure subscription I've created an API Gateway, in which I registered an API that expose a method that accept in input a multipart/form-data request. As can be seen in the following image, the API gateway developer portal, shows the correct…
Samuele Furnari
  • 645
  • 7
  • 12
5
votes
2 answers

Encryption in transit between AWS Resources (Lambda and API Gateway)

I am trying to find out whether or not the transmission between API Gateway and lambda is encrypted with something like TLS. I read through the AWS security whitepapers but I didn't see any indication that it is. If it isn't, how do you go about…
5
votes
0 answers

Strip off prefix in Zuul API gateway

I am trying to configure an API call router using zuul that forwards calls . There are two services: the users service is using path versioning, i.e. /v1/users, /v2/users, ... The accounts service does not use path versioning, thus all routes omit…
Johannes Jasper
  • 861
  • 1
  • 7
  • 30