List bucket properties

0

Hi, I am looking for an AWS CLI command to list all my S3 buckets and their properties, in particular the encryption type and if the BucketKey is enabled?

Thanks in advance. D

gefragt vor einem Jahr373 Aufrufe
1 Antwort
0

As far as this documentation is concerned, it is possible to get a list of buckets by using "list-buckets".
Information on bucket encryption can be checked with "get-bucket-encryption".
Since there does not appear to be a single command that simultaneously lists buckets and checks encryption settings, it is necessary to create a shell script using "list-buckets" and "get-bucket-encryption".
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/index.html

profile picture
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen