Create an unlimited access Object Storage key

Here, we'll create a new Object Storage authentication key that you can use to list and create buckets in specific data centers (regions).

The workflow

  1. Run the List regions operation, verify that each desired region includes "Object Storage" among its capabilities, and store the id value for each.

    {
      "data": [
        {
          "capabilities": [
            "Linodes",
            "NodeBalancers",
            "Block Storage",
            "Object Storage", <== The region offers support for Object Storage.
            "Placement Groups",
            "Block Storage Encryption",
            "Linode Interfaces"
          ],
          "country": "france",
          "id": "fr-pr-1", <== The region's "id"
      ...
    }
    
  2. Run the Create an Object Storage key operation including this content in the request:

    {
      "label": "Regular OBJ Access - EU",
      "regions": [
        "fr-pr-1"
      ]
    }
    
    • label. Give the key an easily recognizable name.

    • regions. Include all of the regions you stored from step 1, where you want to use the key to access buckets.

  3. Ensure that you omit the bucket_access array from the request. (This is used to create a limited access key).

  4. After you run the operation, store the secret_key from the response. This value is only revealed in the response for this operation.

The end result

You can use the key to manage all buckets in the regions you named in the key.

👍

You can also set up bucket policies for fine-grained control of access and permissions for your buckets.