This section explains how to use the qq s3_get_bucket_policy command.

For more information, see:


To Retrieve an Access Policy for an S3 Bucket

Run the qq s3_get_bucket_policy command, and use the --bucket flag to specify the name of your bucket. For example:

qq s3_get_bucket_policy --bucket MyBucket


Retrieve entries of the access policy json stored at BUCKET.


qq s3_get_bucket_policy [-h] [--bucket BUCKET] [--example]


Flag Name Required Description
--bucket No The target bucket for which the access policy will be retrieved
--example No Print an example Policy.