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 Risposta
0
Risposta accettata

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
con risposta un anno fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande