method
Backend.SignedURL
Create a SigV4 GET URL for a private object.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
key | string | The key value. |
ttl | time.Duration | The ttl value. |
Returns
The declared result.
(string, error)How it works
ttl must be between one second and seven days. Object keys are validated before signing.
Full signature
Related types
BackendAn S3 storage and URL-signing backend.