Mutual TLS for S3 rest api

0

Can we configure mtls when using the S3 rest api?

From looking at the documentation, I understand that the way to perform such activity would be to put the call behind an API gateway service and have it manage the mtls part

gefragt vor einem Jahr354 Aufrufe
1 Antwort
0

Hello!

Unfortunately, you cannot use Mutual TLS directly on the S3 API, as Mutual TLS is an API Gateway-only feature. You would need to build a custom API in API Gateway to replicate the S3 API's functionality to utilize MTLS.

This is possible, but depends on which API calls you want to use on S3. If you need a simple API to act as an S3 Proxy, you can refer to this guide on creating such an API with API Gateway: https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-s3.html

It will allow you to run basic S3 commands, like downloading objects or adding buckets, which you can add Mutual TLS to.

However, if you require more advanced API calls to S3, you will need to use the S3 API itself. While you cannot use MTLS with it, there are other authentication methods that can be used with the API. If you do not strictly need to use MTLS for your purpose, it would likely be better to utilize other methods. Take a look here for more information on the S3 API: https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html

Hope this helps!

Mark_G
beantwortet vor 9 Monaten

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