This section explains how to use the
qq s3_modify_bucket
command.For more information, see:
- Managing Access Policies for an S3 Bucket in a Qumulo Cluster in the Azure Native Qumulo Administrator Guide
- Managing Access Policies for an S3 Bucket in a Qumulo Cluster in the Qumulo On-Premises Administrator Guide
Note
By default, an S3 bucket is in the
By default, an S3 bucket is in the
Unversioned
state.Examples
To Enable Versioning for an S3 Bucket
Run the qq s3_modify_bucket
command, specify the bucket name, and use the --enable-versioning
flag. For example:
qq s3_modify_bucket \
--name MyBucket \
--enable-versioning
The following is example output. All times are in the UTC time zone.
{
"creation_time": "2024-05-22T21:42:11.295718303Z",
"name": "MyBucket",
"path": "/my-bucket",
"versioning": "Enabled"
}
To Suspend Versioning for an S3 Bucket
Run the qq s3_modify_bucket
command, specify the bucket name, and use the --suspend-versioning
flag.
Description
Modify the settings of the given bucket. Use this command to update the bucket versioning state. Using this command to enable anonymous access to a bucket has been disabled, use s3_set_bucket_policy instead.
Usage
qq s3_modify_bucket [-h] --name NAME [--suspend-versioning | --enable-versioning]
Flags
Flag Name | Required | Description |
---|---|---|
--name
|
Yes | The name of the bucket to be modified |
--suspend-versioning
|
No | Suspends object versioning |
--enable-versioning
|
No | Enables object versioning |