S3オブジェクトをS3バケットにアップロードできません。私は、以下のコマンドを使用しています顧客提供の鍵を使用してサーバー側の暗号化を使用してCLIを使用してS3にアップロードする方法
aws s3api put-object --bucket=opsops --key=Cloudformation_upload.csv --body=Cloudformation.csv --sse-customer-algorithm=AES256 --sse-customer-key=MTIzNDU2Nzg5MGFiY2Rl --customer-key-md5=NTgwMWMzMzJiNGU1YmE5YzBhMjk3ZDYwYmI1MWNjNzI="
をしかし、私は、オブジェクトをアップロードする際に、このエラーを与える:
注:value.Pleaseは私を助けて顧客キーと、顧客キー-MD5値が64-ビットでエンコードされていますこれを解決してください。
A client error (InvalidArgument) occurred when calling the PutObject operation: The calculated MD5 hash of the key did not match the hash that was provided
私はこのために実行したコマンド... コマンドである「AWSを置くオブジェクトをs3api --bucket = opsops --key = Cloudformation_upload.csv --body = Cloudformation.csv --sse-顧客アルゴリズム= AES256 --sse-顧客キー= MTIzNDU2Nzg5MGFiY2Rl --customerキー-MD5 = NTgwMWMzMzJiNGU1YmE5YzBhMjk3ZDYwYmI1MWNjNzI =」 – UtpMahesh