We have implemented IAM on the server side, now I want to use the session token returned from the server side to download / read images to / from amazon s3.
Are there any samples for such similar tasks? All I can find is to use the cognito credential provider for S3 on the mobile side.
This is the data structure returned from the server side, any suggestions on how to transfer it to the iOS credential provider and perform operations on Amazon S3?
{ "Credentials":{ "AccessKeyId":"...", "SecretAccessKey":"...", "SessionToken":"...", "Expiration":"..." }, "AssumedRoleUser":{ "AssumedRoleId":"...", "Arn":"arn:aws:sts::..." } }
source share