Return actual expiry including token expiry for presigned URLs #6328
Labels
area/API
Improvements or additions to the API
area/block-adapter
area/cataloger
Improvements or additions to the cataloger
AWS
azure
Issues regarding azure block adapter and support
Clients can use our API to request presigned URLs to underlying storage. The lifetime of this URL is given by the minimum of:
For instance, when lakeFS is configured to run using AWS IAM STS, presigned URLs will expire when the current token expires. The client has no way of knowing either of these times. While the expiry time is static and conceivably might be configured on the client as well, lakeFS auth token expiration is dynamic and cannot be guessed by the client.
This might currently be causing isses at user sites using lakeFS Delta Sharing with Unity.
Add an expiration field to presigned responses.
The text was updated successfully, but these errors were encountered: