This section explains how to use the qq s3_get_bucket_policy command.

For more information, see:

Examples

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

Description

Retrieve entries of the access policy json stored at BUCKET.

Usage

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

Flags

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