// Get Encryption Configuration for the bucket
        public async static Task Run(MinioClient minio,
                                     string bucketName = "my-bucket-name")
        {
            try
            {
                Console.WriteLine("Running example for API: GetBucketEncryptionAsync");
                ServerSideEncryptionConfiguration config = await minio.GetBucketEncryptionAsync(
                    new GetBucketEncryptionArgs()
                    .WithBucket(bucketName)
                    );

                Console.WriteLine($"Got encryption configuration for bucket {bucketName}.");
                if (config != null && config.Rule != null && config.Rule.Apply != null)
                {
                    Console.WriteLine("Server Side Encryption Algorithm: " + config.Rule.Apply.SSEAlgorithm);
                }
                Console.WriteLine();
            }
            catch (Exception e)
            {
                Console.WriteLine($"[Bucket]  Exception: {e}");
            }
        }