From 8daea427882d91ea0c4adbc3d2b9ad16680c0698 Mon Sep 17 00:00:00 2001 From: Li Kexian Date: Mon, 29 Jul 2019 18:49:34 +0800 Subject: [PATCH] add Server Side Encryption Option to ObjectPutHeaderOptions --- object.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/object.go b/object.go index 6932a93..8e6c4af 100644 --- a/object.go +++ b/object.go @@ -133,6 +133,8 @@ type ObjectPutHeaderOptions struct { XCosStorageClass string `header:"x-cos-storage-class,omitempty" url:"-"` // 可选值: Normal, Appendable //XCosObjectType string `header:"x-cos-object-type,omitempty" url:"-"` + // Enable Server Side Encryption, Only supported: AES256 + XCosServerSideEncryption string `header:"x-cos-server-side-encryption,omitempty" url:"-" xml:"-"` } // ObjectPutOptions the options of put object