Manage S3 users and authentication using the CLI
This page describes how to gain and obtain access permissions to the S3 protocol using the CLI.
View existing IAM policies
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets",
"s3:ListBucket",
"s3:ListBucketMultipartUploads",
"s3:ListMultipartUploadParts",
"s3:GetBucketLocation",
"s3:GetBucketPolicy",
"s3:GetBucketTagging",
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::*"
]
}
]
}Add an IAM policy
Name
Value
Delete an IAM policy
Name
Value
Attach a policy to an S3 user
Name
Value
Detach a policy from an S3 user
Name
Value
Generate a temporary security token
Name
Value
Default
Last updated