Back to Aws Doc Sdk Examples

Amazon S3 Object Integrity Scenario

scenarios/features/s3_object_integrity/README.md

latest1.3 KB
Original Source

Amazon S3 Object Integrity Scenario

Overview

  • The scenario demonstrates how to use AWS SDKs to verify the integrity of objects uploaded to Amazon S3.
  • It shows how object integrity is verified for different upload methods: PutObject, TransferManager, and multipart upload.
  • The scenario demonstrates the use of all 5 hash algorithms supported by S3 for object verification: MD5, CRC32, CRC32C, SHA1, and SHA256.
  • This scenario demonstrates the different options provided by the SDK for hashing.
  • To demonstrate how the hashes are calculated, the scenario calculates the hashes in the code and compares the results with the hashes calculated automatically by the SDK.

The scenario runs as a command-line application that prompts the user for input.

Resources

The scenario steps create the bucket and objects needed for the example. No additional resources are required.

Implementations

This example is implemented in the following languages:

Additional reading


Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0