Skip to main content

acl_configurations

Creates, updates, deletes, gets or lists an acl_configurations resource.

Overview

Nameacl_configurations
TypeResource
Idlinode.object_storage.acl_configurations

Fields

The following fields are returned by SELECT queries:

The Object's canned ACL and policy.

NameDatatypeDescription
aclstringThe S3 predefined collection of grantees and permissions set for the bucket, also referred to as a Canned ACL. (example: public-read)
acl_xmlstringThe full XML of the object's ACL policy. (example: <AccessControlPolicy>...</AccessControlPolicy>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_object_storage_bucket_aclselectnameView a specific object's access control list (ACL) settings. ACLs define who can access your buckets and objects and specify the level of access granted to those users.

> 📘
>
> You can use an outside API, such as the Ceph Object Gateway S3 API for more options. OAuth scopes.

<br /> object_storage:read_only<br />

Learn more...
put_object_storage_bucket_aclreplacedata__acl, data__nameUpdate a specific object's access control list (ACL) settings. ACLs define who can access your buckets and objects, and specify the level of access granted to those users.

> 📘
>
> You can use an outside API, such as the Ceph Object Gateway S3 API for more options. OAuth scopes.

<br /> object_storage:read_write<br />

Learn more...

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namestringThe name of a specific object to get its access control list (ACL) details. Run the List Object Storage bucket contents operation to access all object names in a bucket. (example: {{name}})

SELECT examples

View a specific object's access control list (ACL) settings. ACLs define who can access your buckets and objects and specify the level of access granted to those users.

> 📘
>
> You can use an outside API, such as the Ceph Object Gateway S3 API for more options. OAuth scopes.

<br /> object_storage:read_only<br />

Learn more...

SELECT
acl,
acl_xml
FROM linode.object_storage.acl_configurations
WHERE name = '{{ name }}' -- required;

REPLACE examples

Update a specific object's access control list (ACL) settings. ACLs define who can access your buckets and objects, and specify the level of access granted to those users.

> 📘
>
> You can use an outside API, such as the Ceph Object Gateway S3 API for more options. OAuth scopes.

<br /> object_storage:read_write<br />

Learn more...

REPLACE linode.object_storage.acl_configurations
SET
data__acl = '{{ acl }}',
data__name = '{{ name }}'
WHERE
data__acl = '{{ acl }}' --required
AND data__name = '{{ name }}' --required;