Does API Gateway WebSocket APIs support MTLS?

0

I know it can be configured with REST API, but does WebSocket API also support MTLS? Would appreciate a pointer to the documentation!

Thanks in advance.

1 Antwort
0
Akzeptierte Antwort

I could not find any mention on MTLS and WebSocket. Probably u r right that is not supported but perhaps you can try using custom lambda authorizer as alternative?

https://aws.amazon.com/blogs/compute/propagating-valid-mtls-client-certificate-identity-to-downstream-services-using-amazon-api-gateway/

I have not done this in the past

Niko
beantwortet vor einem Jahr
  • Does above only apply to REST/HTTP API since the request context for WebSocket API will be different w/o the client cert content since MTLS is not supported for WebSocket API? I just started on checking WebSocket API for server in AWS to push event to clients/machines on prem. We currently have client cert verification for REST API already. If AWS WebSocket API can support MTLS, that will be great. Not sure why it's not supported though REST/HTTP API do.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen