4 |
Give the user permissions to S3 and your bucket |
Navigate to the user details and click Attach User Policy.
Then select Amazon S3 Full Access or set up a policy as best fits your needs.
If you are giving access to a specific bucket make sure the resource is in the following form:
"arn:aws:s3:::[bucket-name]/*"
eg
{ "Version": "2015-10-3017", "Statement": [{"Effect": "Allow", "Action": ["s3:PutObject"], "Resource": "arn:aws:s3:::[bucket-name]/*"}] }
Basic AWS policy examples
|
6 |
Accessing files |
Once the files have been transferred to your bucket, you can use a number of standard AWS or 3rd party supplied tools - we have listed some in the sidebar.
Setting up AWS CLI Access Credentials
Example CLI Sync: aws s3 sync s3://bucket/ /tmp/foo --profile access1
Example CLI cp (copy): aws s3 cp s3://bucket/ /tmp/foo --recursive --profile access1
* where access1 is profile in the .aws/config file
|