Commit Graph
9 Commits
Author SHA1 Message Date
Abhinav Raut aa72271c58 Fix expired token error while generating presigned URLs
Adds renewIAMToken() call in GeneratePresignedURL.

On token expiry, GeneratePresignedURL would not renew it until
other methods that renew tokens are called.
2025-09-17 22:50:51 +05:30
Pierre-Olivier Mercier bb9a56dda9 Rework presign to allow signature of endpoint given clients 2024-08-23 15:59:06 +02:00
jibin jose 2a542b05fe Fix: Add X-Amz-Security-Token to presigned url (#4)
Include the x-amz-security-token if signed with temporary credentials.

Ref:https://stackoverflow.com/questions/49306621/how-secret-is-the-session-token-in-aws-temporary-security-credentials/49344291#49344291
2020-04-13 16:44:33 +05:30
Rohan Verma aba89e779a refactor: minor doc changes 2019-12-11 13:54:46 +05:30
Liut 9a5e82a977 Add Endpoint for some compatible instance and fix time format (#3)
* Add Endpoint for some compatible instance.

* Fix: InvalidExpiration
* Fix: RequestTimeTooSkewed

Compatible s3: https://developer.qiniu.com/kodo/manual/4088/s3-access-domainname

* - clean code

* Fix: InvalidExpiration
2019-12-11 07:53:05 +00:00
Rohan Verma 20bc00a8c8 refactor: Presigned URL generator to use byte strings 2019-01-16 02:03:28 +05:30
Rohan Verma 8b0be7fb53 fix: Set protocol 2018-12-29 21:05:17 +05:30
Rohan Verma e4c7d93da1 Update readme and docstrings, minor refactors. 2018-12-24 17:31:36 +05:30
Rohan Verma d218b23f05 feat: Presigned URLs 2018-12-24 13:36:29 +05:30