Documentation

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:

Subcommand

Description

get

The mc anonymous get command gets the anonymous (i.e. unauthenticated or public) access policies for a bucket.

get-json

The mc anonymous get-json command gets anonymous (i.e. unauthenticated or public) access policies for a bucket.

links

The mc anonymous links retrieves the HTTP URL for anonymous (i.e. unauthenticated or public) access to a bucket.

list

The mc anonymous list retrieves all anonymous (i.e. unauthenticated or public) access policies for a bucket.

set

The mc anonymous set command sets anonymous (i.e. unauthenticated or public) access policies for a bucket.

set-json

The mc anonymous set-json command sets anonymous (i.e. unauthenticated or public) access policies for a bucket using using an IAM JSON policy document.