SignedURLProperties
This class encapsulates properties about the signedURL operation. It defines the permission level allowed for the generated URL, its expiration duration, and an optional Base64-encoded 128-bit MD5 hash for data integrity checks. It also allows adding ContentMD5 to the metadata of the signed URL.
Attributes
| Attribute | Type | Description |
|---|---|---|
| Scope | stow.ClientMethod | Scope defines the permission level allowed for the generated URL. |
| ExpiresIn | time.Duration | ExpiresIn defines the expiration duration for the URL. It's strongly recommended setting it. |
| ContentMD5 | string | ContentMD5 defines the expected Base64-encoded 128-bit MD5 hash of the generated file. It's strongly recommended setting it.for data integrity checks on the storage backend. |
| AddContentMD5Metadata | bool | Add ContentMD5 to the metadata of signed URL if true. |