Skip to content

AWSS3 upload and download file using AWSS3GetPreSignedURLRequest and custom AWSCognitoCredentialsProviderHelper with token and identityId

Notifications You must be signed in to change notification settings

djups/awsCredentialProfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

AWSS3 upload and download file using AWSS3GetPreSignedURLRequest and custom AWSCognitoCredentialsProviderHelper with token and identityId, from API.

Important AWSCognito works only with AWSCognitoCredentialsProvider, it will not work if you set AWS Credentials in appdelegate.

  1. Get tokens, auth and other setups from API.
  2. Init singleton AmazonAuth with this fields.
  3. Make config: DeveloperAuthenticatedIdentityProvider
  4. Now you can upload/download images using PreSignedURL.

Code updated for swift 4.

About

AWSS3 upload and download file using AWSS3GetPreSignedURLRequest and custom AWSCognitoCredentialsProviderHelper with token and identityId

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages