amazon web services - AWS S3 pre signed URL without Expiry date -


is there way can generate pre-signed url's without expiry date ? i'm developing email app attachments saved in s3. please let me know best way download attachments via javascript sdk.

i'm using below code

var params = {bucket: 'bucket', key: 'key', expires: 60}; var url = s3.getsignedurl('getobject', params); console.log('the url is', url); 

the maximum expiration time presigned url one week time of creation. there no way have presigned url without expiry time.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -