이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 13. Managing Ceph Object Gateway bucket policies on the dashboard
As a storage administrator, the Red Hat Ceph Storage Dashboard allows you to view and manage Ceph Object Gateway bucket policies.
Prerequisites
- A running Red Hat Ceph Storage cluster.
- Dashboard is installed.
- The Ceph Object Gateway is installed.
- At least one Ceph object gateway user is created.
- Ceph Object Gateway login credentials are added to the dashboard.
- At least one Ceph Object Gateway bucket. For more information about creating a bucket, see Creating Ceph Object Gateway buckets on the dashboard.
13.1. Creating and editing Ceph Object Gateway bucket policies on the dashboard 링크 복사링크가 클립보드에 복사되었습니다!
You can create and edit Ceph Object Gateway bucket policies on the Red Hat Ceph Storage dashboard.
Prerequisites
- A running Red Hat Ceph Storage cluster.
- Dashboard is installed.
- The Ceph Object Gateway is installed.
- At least one Ceph object gateway user is created.
- Ceph Object Gateway login credentials are added to the dashboard.
- At least one Ceph Object Gateway bucket. For more information about creating a bucket, see Creating Ceph Object Gateway buckets on the dashboard.
Procedure
-
From the dashboard, go to Object
Buckets. Create or modify a bucket policy for an existing bucket.
NoteTo create a bucket policy during bucket creation, click Create and fill in the bucket policy information in the Policies section of the Create Bucket form.
Select the bucket for which the bucket policy will be created or modified, and then click Edit.
- In the Create Bucket form, go to Policies.
Enter or modify the policy in JSON format.
Use the following links from within the form to help create your bucket policy. These links open a new tab in your browser.
Policy generator is an external tool from AWS to generate a bucket policy. For more information, see AWS Policy Generator.
NoteYou can use the policy generator with the
S3 Bucket Policytype as a guideline for building your Ceph Object Gateway bucket policies.- Policy examples takes you to AWS documentation with examples of bucket policies.
To save the bucket policy, click Edit Bucket.
NoteWhen creating a bucket policy during an initial bucket creation, click Create Bucket.
When the bucket policy is saved, the
Updated Object Gateway bucket `bucketname`notification is displayed.
13.2. Deleting Ceph Object Gateway bucket policies on the dashboard 링크 복사링크가 클립보드에 복사되었습니다!
You can delete Ceph Object Gateway bucket policies on the Red Hat Ceph Storage dashboard.
Prerequisites
- A running Red Hat Ceph Storage cluster.
- Dashboard is installed.
- The Ceph Object Gateway is installed.
- At least one Ceph object gateway user is created.
- Ceph Object Gateway login credentials are added to the dashboard.
- At least one Ceph Object Gateway bucket. For more information about creating a bucket, see Creating Ceph Object Gateway buckets on the dashboard.
Procedure
-
From the dashboard, go to Object
Buckets. - Select the bucket for which the bucket policy will be created or modified, and then click Edit.
- In the Edit Bucket form, go to Policies.
- Click Clear.
To complete the bucket policy deletion, click Edit Bucket.
When the bucket policy is deleted, the
Updated Object Gateway bucket `bucketname`notification is displayed.