1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
You can allow cmdlet to compute this itself, via the -CalculateContentMD5Header <Boolean> option, which will generate the header based on your content, and include this with the request. S3 will validate this header as part of the PutObject operation.
If you want to pass a manually or precomputed value, set the above to false and pass the header as a custom header.
-HeaderCollection @{ 'Content-MD5' = 'asdfasdfasdfsa'}
Again, S3 will compare this to the uploaded object after receiving the content. If the MD5 does not match the value S3 computes for the received content, the upload will fail.
답변함 일 년 전
관련 콘텐츠
- AWS 공식업데이트됨 2년 전