aws s3api get-bucket-encryption
Returns the default encryption configuration for an Amazon S3 bucket. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--bucketThe name of the bucket from which the server-side encryption configuration is retrieved.--expected-bucket-ownerThe account ID of the expected bucket owner.