aws-sdk-kotlin icon indicating copy to clipboard operation
aws-sdk-kotlin copied to clipboard

How do I migrate from CognitoCachingCredentialsProvider on Android?

Open VincentJoshuaET opened this issue 3 years ago • 1 comments

To initialize an S3Client, I currently use this:

val provider = CognitoCachingCredentialsProvider(androidAppContext, "IDENTITY_POOL_ID", Regions.fromName("us-east-1"))

AmazonS3Client(provider, Region.getRegion(Regions.fromName("us-east-1")))

What should I use for this library instead?

VincentJoshuaET avatar Aug 31 '21 02:08 VincentJoshuaET

Unfortunately, we don't provide an equivalent credentials provider as part of this SDK. This item isn't yet on our roadmap but I'll leave this issue open so we can gauge interest level by 👍 upvotes.

ianbotsf avatar Sep 03 '21 21:09 ianbotsf