My iOS application talks to a service(lets call this service "Service X") which is built on top of AWS. Service X provides RESTful APIs to upload content. When my application sends a PUT request to service X for creation of new asset, service X returns the information needed to perform multipart upload to S3. It contains "access key","secret key" & "session token" along with "asset_arn", "upload id" & "S3 URL for multipart uploads".
I am not sure how to use this information to perform multipart uploads using AWS iOS SDK. The SDK provides Cognito to manage credentials but i already have credentials with me. How can i proceed with this?
I can even use S3's REST API for performing multipart uploads but i am not sure how should i pass on the credential information.