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

已提问 1 年前354 查看次数
1 回答
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
已回答 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则