Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to restrict Amazon S3 API access?

Tags:

amazon-s3

Is there a way to create a different identity to (access key / secret key) to access Amazon S3 buckets via the REST API where I can restrict access (read only for example)?

like image 830
David Whatley Avatar asked Dec 06 '09 23:12

David Whatley


People also ask

Can I restrict S3 access by IP?

To allow users to perform S3 actions on the bucket from the VPC endpoints or IP addresses, you must explicitly allow the user-level permissions. You can explicitly allow user-level permissions on either an AWS Identity and Access Management (IAM) policy or another statement in the bucket policy.

Which feature can be used to restrict access to data in S3?

A. Set an S3 ACL on the bucket or the object.

How do I make my S3 objects private?

Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/ . In the Bucket name list, choose the name of the bucket that you want. Choose Permissions. Choose Edit to change the public access settings for the bucket.


1 Answers

The recommended way is to use IAM to create a new user, then apply a policy to that user.

like image 177
Skyler Johnson Avatar answered Sep 23 '22 18:09

Skyler Johnson