shambhu
shambhu

Reputation: 326

Listing out all objects/files available on amazon s3 bucket in single call using federated user credentials(or IAM user) on client side by java sdk

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

Answers (1)

Santosh Biswakarma
Santosh Biswakarma

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

Related Questions