Fix typo
This commit is contained in:
parent
576b2d1109
commit
9186c29dd8
|
@ -149,7 +149,7 @@ func (c *S3Client) Put(data []byte) error {
|
|||
|
||||
if c.serverSideEncryption {
|
||||
if c.kmsKeyID != "" {
|
||||
i.SSEKMSKeyID = &c.kmsKeyID
|
||||
i.SSEKMSKeyId = &c.kmsKeyID
|
||||
i.ServerSideEncryption = aws.String("aws:kms")
|
||||
} else {
|
||||
i.ServerSideEncryption = aws.String("AES256")
|
||||
|
|
Loading…
Reference in New Issue