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

질문됨 일 년 전375회 조회
1개 답변
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
전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠