@@ -33,25 +33,27 @@ Options:
3333 --help Show this message and exit.
3434
3535Commands:
36- create Create and return new AWS credentials for specified...
37- debug-bucket Run a bunch of diagnostics to help debug a bucket
38- delete-objects Delete one or more object from an S3 bucket
39- delete-user Delete specified users, their access keys and their...
40- get-bucket-policy Get bucket policy for a bucket
41- get-cors-policy Get CORS policy for a bucket
42- get-object Download an object from an S3 bucket
43- get-objects Download multiple objects from an S3 bucket
44- list-bucket List contents of bucket
45- list-buckets List buckets
46- list-roles List roles
47- list-user-policies List inline policies for specified users
48- list-users List all users for this account
49- policy Output generated JSON policy for one or more buckets
50- put-object Upload an object to an S3 bucket
51- put-objects Upload multiple objects to an S3 bucket
52- set-bucket-policy Set bucket policy for a bucket
53- set-cors-policy Set CORS policy for a bucket
54- whoami Identify currently authenticated user
36+ create Create and return new AWS credentials for...
37+ debug-bucket Run a bunch of diagnostics to help debug a bucket
38+ delete-objects Delete one or more object from an S3 bucket
39+ delete-user Delete specified users, their access keys and...
40+ get-bucket-policy Get bucket policy for a bucket
41+ get-cors-policy Get CORS policy for a bucket
42+ get-object Download an object from an S3 bucket
43+ get-objects Download multiple objects from an S3 bucket
44+ get-public-access-block Get the public access settings for an S3 bucket
45+ list-bucket List contents of bucket
46+ list-buckets List buckets
47+ list-roles List roles
48+ list-user-policies List inline policies for specified users
49+ list-users List all users for this account
50+ policy Output generated JSON policy for one or more...
51+ put-object Upload an object to an S3 bucket
52+ put-objects Upload multiple objects to an S3 bucket
53+ set-bucket-policy Set bucket policy for a bucket
54+ set-cors-policy Set CORS policy for a bucket
55+ set-public-access-block Configure public access settings for an S3 bucket.
56+ whoami Identify currently authenticated user
5557```
5658## s3-credentials create --help
5759
@@ -262,6 +264,25 @@ Options:
262264 -a, --auth FILENAME Path to JSON/INI file containing credentials
263265 --help Show this message and exit.
264266```
267+ ## s3-credentials get-public-access-block --help
268+
269+ ```
270+ Usage: s3-credentials get-public-access-block [OPTIONS] BUCKET
271+
272+ Get the public access settings for an S3 bucket
273+
274+ Example usage:
275+
276+ s3-credentials get-public-access-block my-bucket
277+
278+ Options:
279+ --access-key TEXT AWS access key ID
280+ --secret-key TEXT AWS secret access key
281+ --session-token TEXT AWS session token
282+ --endpoint-url TEXT Custom endpoint URL
283+ -a, --auth FILENAME Path to JSON/INI file containing credentials
284+ --help Show this message and exit.
285+ ```
265286## s3-credentials list-bucket --help
266287
267288```
@@ -540,6 +561,37 @@ Options:
540561 -a, --auth FILENAME Path to JSON/INI file containing credentials
541562 --help Show this message and exit.
542563```
564+ ## s3-credentials set-public-access-block --help
565+
566+ ```
567+ Usage: s3-credentials set-public-access-block [OPTIONS] BUCKET
568+
569+ Configure public access settings for an S3 bucket.
570+
571+ Example:
572+
573+ s3-credentials set-public-access-block my-bucket --block-public-acls false
574+
575+ To allow full public access to the bucket, use the --allow-public-access flag:
576+
577+ s3-credentials set-public-access-block my-bucket --allow-public-access
578+
579+ Options:
580+ --block-public-acls BOOLEAN Block public ACLs for the bucket (true/false).
581+ --ignore-public-acls BOOLEAN Ignore public ACLs for the bucket
582+ (true/false).
583+ --block-public-policy BOOLEAN Block public bucket policies (true/false).
584+ --restrict-public-buckets BOOLEAN
585+ Restrict public buckets (true/false).
586+ --allow-public-access Set all public access settings to false
587+ (allows full public access).
588+ --access-key TEXT AWS access key ID
589+ --secret-key TEXT AWS secret access key
590+ --session-token TEXT AWS session token
591+ --endpoint-url TEXT Custom endpoint URL
592+ -a, --auth FILENAME Path to JSON/INI file containing credentials
593+ --help Show this message and exit.
594+ ```
543595## s3-credentials whoami --help
544596
545597```
0 commit comments