Viewing, editing or deleting access point policies
You can use an AWS Identity and Access Management (IAM) access point policy to control the principal and resource that can access the access point. The access point scope manages the prefixes and API permissions for the access point. You can create, edit, and delete an access point policy using the AWS Command Line Interface, REST API, or AWS SDKs. For more information about access point scope, see Manage the scope of your access points for directory buckets.
Note
Since directory buckets use session-based authorization, your policy must always include the s3express:CreateSession
action.
To view, edit, or delete an access point policy
Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
In the navigation bar on the top of the page, choose the name of the currently displayed AWS Region. Next, choose the Region that you want to list access points for.
-
In the navigation pane on the left side of the console, choose Access points for directory buckets.
-
(Optional) Search for access points by name. Only access points in your selected AWS Region will appear here.
-
Choose the name of the access point you want to manage.
-
Select the Permissions tab.
-
To create or edit the access point policy, in Access point policy, choose Edit. Edit the policy. Select Save.
-
To delete the access point policy, in Access point policy, choose Delete. In the Delete access point policy window, type
confirm
and choose Delete.
You can use the get-acccess-point-policy
, put-access-point-policy
, and delete-access-point-policy
commands to view, edit, or delete an access point policy.
For more information, see get-access-point-policy
You can use the REST API GetAccessPointPolicy
, DeleteAccessPointPolicy
, and PutAccessPointPolicy
operations to view, delete, or edit an access point policy.
For more information, see PutAccessPointPolicy, GetAccessPointPolicy, or DeleteAccessPointPolicy in the Amazon Simple Storage Service API Reference.
You can use the AWS SDKs to view, delete, or edit an access point policy. For more information, see the list of supported SDKs for GetAccessControlPolicy, DeleteAccessControlPolicy, and PutAccessControlPolicy in the Amazon Simple Storage Service API Reference.