AWS CLI | S3cmd | Description |
---|---|---|
—public-read | —acl-public | Making an object publicly accessible |
—private | —acl-private | Making an object private |
—grant-full-control | —acl-grant=full-control | Granting full control over the bucket |
—grant-read | —acl-grant=read | Allowing the listing of objects in the bucket |
—grant-read-acp | —acl-grant=read_acp | Allowing the reading of ACLs |
—grant-write | —acl-grant=write | Allowing recording, overwriting, and deleting of objects |
<https://s-ed1.cloud.gcore.lu>
with your hostname.<http://www.example.com/>
and <http://example.com/>
with your desired websites.
2. Apply the policy to the bucket with the following command.
AWS CLI: