method
Backend.SignedURL
func (backend *Backend) SignedURL(
ctx context.Context,
key string,
ttl time.Duration,
) (string, error)Create a SigV4 GET URL for a private object.
Source adapters/storage/s3/s3.go:212
ttl must be between one second and seven days. Object keys are validated before signing.
Related types
BackendAn S3 storage and URL-signing backend.