Manage Linode Object Storage Keys.
- name: Create an Object Storage key
linode.cloud.object_keys:
label: 'my-fullaccess-key'
state: present
- name: Create a limited Object Storage key
linode.cloud.object_keys:
label: 'my-limited-key'
access:
- cluster: us-east-1
bucket_name: my-bucket
permissions: read_write
state: present
- name: Remove an object storage key
linode.cloud.object_keys:
label: 'my-key'
state: absent
Field |
Type |
Required |
Description |
state |
str |
Required |
The desired state of the target. (Choices: present , absent ) |
label |
str |
Optional |
The unique label to give this key. |
access (sub-options) |
list |
Optional |
A list of access permissions to give the key. |
Field |
Type |
Required |
Description |
cluster |
str |
Required |
The id of the cluster that the provided bucket exists under. |
bucket_name |
str |
Required |
The name of the bucket to set the key's permissions for. |
permissions |
str |
Required |
The permissions to give the key. (Choices: read_only , write_only , read_write ) |