You need to access in your AWS console and activate IAM access control.
- Create a new bucket in S3
- Create a new group in IAM
Create a new policy in the IAM group and add:
and change the bucket name (from test-bucket-name to your real bucket name).
Create a new user in IAM
Add the user in the group created before
Now you can use your user credential to access and write/read in our bucket. User can list all bucket but can't access to data avialable inside the not authorized bucket. This is a know problem but there are not workaround.