You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning('Cannot have server_side_encryption (S3 SSE) and KMS_key set (S3 KMS). KMS encryption will be used. Please set server_side_encryption to False')
251
+
if (self.kms_keyandself.server_side_encryption==True) or \
warning('Cannot have server_side_encryption (S3 SSE) and KMS_key set (S3 KMS) and server_side_encryption_customer (S3 SSE-C). KMS encryption will be used. Please set one')
252
255
ifself.kms_keyandself.signature_v2==True:
253
256
raiseException('KMS encryption requires signature v4. Please set signature_v2 to False')
Copy file name to clipboardExpand all lines: s3cmd
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2717,6 +2717,7 @@ def main():
2717
2717
2718
2718
optparser.add_option( "--server-side-encryption", dest="server_side_encryption", action="store_true", help="Specifies that server-side encryption will be used when putting objects. [put, sync, cp, modify]")
2719
2719
optparser.add_option( "--server-side-encryption-kms-id", dest="kms_key", action="store", help="Specifies the key id used for server-side encryption with AWS KMS-Managed Keys (SSE-KMS) when putting objects. [put, sync, cp, modify]")
2720
+
optparser.add_option( "--server-side-encryption-customer-key", dest="customer_key", action="store", help="Specifies the key used for server-side encryption with customer-provided encryption keys (SSE-C) when putting objects or get SSE-C object. [put, sync, cp, modify, get]")
optparser.add_option( "--add-encoding-exts", dest="add_encoding_exts", metavar="EXTENSIONs", help="Add encoding to these comma delimited extensions i.e. (css,js,html) when uploading to S3 )")
0 commit comments