Access via signed URL
By default, all objects and buckets in a project are private. However, you can allow other users to download objects from a bucket or upload them to it by creating a pre-signed URL. It specifies:
- A public access key. For example, the public access key associated with the VK Object Storage account, or a public bucket access key.
- The bucket name.
- The object key.
- The URL expiration time.
- A signature encrypted with the secret access key.
Anyone who has the signed URL gains access to the object specified in it. No authorization is required. A signed URL can be used multiple times, but only within its specified validity period.
The capabilities of a signed URL are limited by the permissions of the one who signed it. For example, the URL will stop working if the VK Object Storage account whose key was used to sign the URL is deleted.
A signed URL can be generated using the AWS CLI or SDK.
Was this article helpful?