amazon web services - Upload file to S3 from Android using upload policy -
i have api returns s3 upload policy use in web forms (link s3 documentation)
now have develop native android app same upload functionality using policy api gives me. how can using android aws sdk ?
i can't seem find resources this. way see have webview , create form upload experience.
(i total android newbie)
for authenticating aws using android sdk, best bet checkout amazon cognito identity, lets vend temporary limited privilege credentials app. (because hard coding credentials in android application unsafe). can use identity access management (iam) roles restrict credentials can do.
some initial resources checkout getting started s3 android using cognito auth (http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/s3transfermanager.html)
concept on iam roles cognito identity (http://docs.aws.amazon.com/cognito/devguide/identity/concepts/iam-roles/ )
understanding acl vs iam vs bucket policies in s3 (http://blogs.aws.amazon.com/security/post/txpojby6fe360k/iam-policies-and-bucket-policies-and-acls-oh-my-controlling-access-to-s3-resourc)
sorry security bit confusing, please let me know if these resources not provide answer looking for.
wes
Comments
Post a Comment