AWS S3 Cloud Object Storage

Learn to store secrets using AWS Secrets Manager integration.

What Is Amazon S3?

Amazon Simple Storage Service (Amazon S3) is an object storage service offering industry-leading scalability, data availability, security, and performance. Customers of all sizes and industries can store and protect any amount of data for virtually any use case, such as data lakes, cloud-native applications, and mobile apps.


Our system tests are getting more complex and complex. To be stable as possible they need to create/modify test data. For distributed system that levarage the Amazon S3 cloud we built AWS S3 integration for enabling you to perform CRUD operations - download/upload/delete files from S3. You can intialize the service via S3BucketService class. You need read AWS documentation to configure properly the authentication - we use internally the default mode. If you need something else you need to modify the code. Download File

var s3 = new S3BucketService();
s3.downloadFile(Region.AP_SOUTH_1, "s3bucketName", "pathToYourFile");

Upload File

s3.uploadFile(Region.AP_SOUTH_1, "s3bucketName", "pathToYourFile");

Delete File

s3.deleteFile(Region.AP_SOUTH_1, "s3bucketName", "pathToYourFile");

Delete Files

var filesToBeDeleted = Arrays.asList("file1", "file2");
s3.deleteMultipleFiles(Region.AP_SOUTH_1, "s3bucketName", filesToBeDeleted);