mc anonymous

Description

The mc anonymous command supports setting or removing anonymous policies to a bucket and its contents. Buckets with anonymous policies allow public access where clients can perform any action granted by the policy without authentication.

Subcommands

mc anonymous includes the following subcommands:

SubcommandDescription
getGet the anonymous (public) access policy for a bucket.
get-jsonGet the anonymous access policy for a bucket as a JSON document.
linksRetrieve the HTTP URL for anonymous access to a bucket.
listList all anonymous access policies for a bucket.
setSet the anonymous access policy for a bucket.
set-jsonSet the anonymous access policy for a bucket using an IAM JSON policy document.

On this page