I'm investigating the getSessionToken API of AWS to create temporally tokens.
I have a client (native application) that need to upload some stuff to a S3 bucket. I had the idea to make an API call to my server, in order to retrieve temporally credentials to S3.
I see that I can give this token a duration, but I'm not sure what's included in this duration. Assuming the client will connect directly to S3 when he receives the token, but the upload can take up to 30 minutes, is a duration of 1 minute valid? Or should it cover the full upload process?
Was reading and searching for this, but not finding a clear answer.
Anyone with experiences on this? Any recommendations?
API call: http://ift.tt/1RLwiZy
Aucun commentaire:
Enregistrer un commentaire