Provisions a new Object Storage key for authentication. A successful request triggers an obj_access_key_create
event.
Accounts with negative balances can't access this operation.
Create an unlimited access key
This type of key grants full access to all of your buckets in each region you name, using the regions
array. Run the List regions operation, verify that each desired region includes "Object Storage"
among its capabilities
, and store the id
value for each. Leave the bucket_access
array out to create an unlimited access key.
Check out this example workflow for an unlimited access key.
Create a limited access key
This type of key lets you name specific buckets where you need to manage content. In the bucket_access
array, include individual objects for each bucket, comprised of the target bucket_name
, the permissions
level for access to the bucket, and the region
where the bucket lives. Run the List Object Storage buckets operation and store the label
, to use as the bucket_name
, and the region
for each. With a limited access key, the parent-level regions
array isn't required.
Check out this example workflow for a limited access key.
linode-cli object-storage keys-create \
--label "my-object-storage-key" \
--bucket_access '[{"region": "ap-south", "bucket_name": "bucket-example-1", "permissions": "read_write" }]'
<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
object_storage:read_write
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>