VK Cloud logo

Bucket access keys

To grant someone access to the objects in a bucket, add access keys to it. Keys associated with a bucket provide access to the entire bucket or to the objects in it that share a common prefix.

Adding access keys

  1. Navigate to the VK Cloud management console.

  2. Select the project that contains the desired bucket.

  3. Go to the Object Storage → Buckets section.

  4. Click the name of the desired bucket.

  5. Go to the Keys tab and click the Add key button.

  6. Enter the key name. Name requirements:

    • it must be from 4 to 74 characters long;
    • it must start and end with a letter or a digit;
    • it must consist only of lowercase Latin letters, digits, and the following characters: ., -, _;
    • it must be unique across the entire VK Cloud platform in all regions.
  7. Enable the Restrict access option if you need to grant access to only some objects in the bucket. If the option is disabled, the created key will provide access to all objects in the bucket.

  8. Enter the object prefix — access will be granted only to the objects whose name contains the specified prefix. If you specify a prefix that does not yet exist in the bucket, an empty directory named after the prefix will be added.

  9. Click the Create button.

  10. A window will open containing the key identifier (Access Key ID) and the secret key (Secret Key). Copy the value of the Secret Key field and save it on your device.

Deleting access keys

This is a group operation: if necessary, you can delete multiple keys at once by selecting them using the checkboxes.

  1. Navigate to the VK Cloud management console.

  2. Select the project that contains the desired bucket.

  3. Go to the Object Storage → Buckets section.

  4. Click the name of the desired bucket and go to the Keys tab.

  5. Delete the key in one of the following ways:

    • Click the trash-icon icon next to the key you want to delete.
    • Select the key using a checkbox, then click the trash-icon Delete button.
  6. Confirm the deletion.

Was this article helpful?