Reputation: 326
How to list out all objects/files information from particular location of amazon s3 bucket using federated users credentials in java. Currently we have the methods for doing this is AmazonS3Client.listObjects(ListObjectsRequest listObjectsRequest). In this scenario have we other solutions having not to use BasicSessionCredentials in client side ?
Upvotes: 2
Views: 194
Reputation: 410
If you are using Federated user credentials for listing out objects from amazon s3 bucket then make sure you have object READ permission with the federated tokens.
Upvotes: 1