Bucket Policies
Manage Bucket Policies
Create Bucket Policy
{
"Version": "2012-10-17",
"Id": "S3PolicyId1",
"Statement": [
{
"Sid": "Grant permission to <access_key>",
"Effect": "Allow",
"Principal": ["<access_key>"],
"Action": [ "s3:PutObject","s3:GetObject" ],
"Resource":[ "bucket-test/*" ]
}
]
}Get Bucket Policy
Delete Bucket Policy
Bucket Policy management scenarios
Grant bucket permissions to a user
Grant read only bucket permissions to a user
Grant bucket permissions to all users (public access)
Accessing Bucket via baseURL in a Web Browser
Grant bucket permissions to all users (public access) to Objects under a specific prefix
Supported Policy Operations & Conditions
Supported bucket policy operations
Permissions for Object Operations
Permission keyword
Supported S3 operations
Permissions for Bucket Operations
Permission keyword
Supported S3 operations
Permissions for Bucket Sub-resource Operations
Permission keyword
Supported S3 operations
Supported bucket policy conditions
Supported generic AWS condition keys
Key name
Description
Applicable operators
Supported S3-specific condition keys for object operations
Key name
Description
Applicable permissions
Supported S3-specific condition keys for bucket operations
Key name
Description
Applicable permissions
Last updated

