amazon s3 - Location to put credential file AWS android sdk accessing AWS s3 -


i have android app calls s3 upload , download pics bucket, have working cognitocachingcredentialsprovider now, want start using access key credential, in creating s3client object. know , hard code aws_access_key_id , aws_secret_key, put them environment variable or in file in home directory.

since going use aws_access_key_id , aws_secret_key in android app, environment variable wont available. question put these keys can use s3client in android app. file reside if app go app store.

you should never have access key , secret key in android application, hard coded, or in separate file. true if going on app store. large security risk, can decompile app , credentials.

what wrong cognito credentials using?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -