

# Managing Amazon S3 access points
<a name="access-points-manage"></a>

This section explains how to manage and use your Amazon S3 access points using the AWS Management Console, AWS Command Line Interface, or API.

**Topics**
+ [

# Listing S3 access point attachments
](access-points-list.md)
+ [

# Viewing access point details
](access-points-details.md)
+ [

# Deleting an S3 access point attachment
](delete-access-point.md)

# Listing S3 access point attachments
<a name="access-points-list"></a>

This section explains how to list S3 access point using the AWS Management Console, AWS Command Line Interface, or REST API.

## To list all the S3 access points attached to an FSx for OpenZFS volume (Amazon FSx console)
<a name="access-points-list-console"></a>

1. Open the Amazon FSx console at [https://console.aws.amazon.com/fsx/](https://console.aws.amazon.com/fsx/).

1. In the navigation pane on the left side of the console, choose **Volumes**.

1. On the **Volumes** page, choose the **OpenZFS** volume that you want to view the access point attachments for.

1. On the Volume details page, choose **S3 - new** to view a list of all the S3 access points attached to the volume.

## To list all the S3 access points attached to an FSx for OpenZFS volume (AWS CLI)
<a name="access-points-list-cli"></a>

The following [https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeS3AccessPointAttachments.html](https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeS3AccessPointAttachments.html) example command shows how you can use the AWS CLI to list S3 access point attachments.

The following command lists all the S3 access points attached to volumes on the FSx for OpenZFS file system fs-0abcdef123456789.

```
aws fsx describe-s3-access-point-attachments --filter {[Name: file-system-id, Values:{[fs-0abcdef123456789]}} 
```

The following command lists S3 access points attached to an FSx for OpenZFS volume vol-9abcdef123456789].

```
aws fsx describe-s3-access-point-attachments --filter {[Name: volume-id, Values:{[vol-9abcdef123456789]}} 
```

For more information and examples, see [https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3control/list-access-points.html](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3control/list-access-points.html) in the *AWS CLI Command Reference*.

# Viewing access point details
<a name="access-points-details"></a>

This section explains how to view the details of S3 access points using the AWS Management Console, AWS Command Line Interface, or REST API.

## To view the details of S3 access points attached to an FSx for OpenZFS volume (Amazon FSx console)
<a name="access-points-details-console"></a>

1. Open the Amazon FSx console at [https://console.aws.amazon.com/fsx/](https://console.aws.amazon.com/fsx/).

1. Navigate to the volume that is attached to the access point whose details you want to view.

1. Choose **S3 - new** to display the list of access points attached to the volume.

1. Choose the access point whose details you want to view.

1. Under **S3 access point attachment summary**, view configuration details and properties for the selected access point.

   The **File system user identity** configuration and the **S3 access point permissions** policy are also listed for the access point attachment.

1. To view the access point's S3 configuration in the Amazon S3 console, choose the S3 access point name displayed under **S3 access point**. It takes you to the access point's detail page in the Amazon S3 console.

# Deleting an S3 access point attachment
<a name="delete-access-point"></a>

This section explains how to delete S3 access points using the AWS Management Console, AWS Command Line Interface, or REST API.

The `fsx:DetatchAndDeleteS3AccessPoint` and `s3control:DeleteAccessPoint` permissions are required to delete an S3 access point attachment.

## To delete an S3 access point attached to an FSx for OpenZFS volume (Amazon FSx console)
<a name="access-points-delete-console"></a>

1. Open the Amazon FSx console at [https://console.aws.amazon.com/fsx/](https://console.aws.amazon.com/fsx/).

1. Navigate to the volume that the S3 access point attachment that you want to delete is attached to.

1. Choose **S3 - new** to display the list of S3 access points attached to the volume.

1. Select the S3 access point attachment that you want to delete.

1. Choose **Delete**.

1. Confirm that you want to delete the S3 access point, and choose **Delete**.

## To delete an S3 access point attached to an FSx for OpenZFS volume (AWS CLI)
<a name="access-points-delete-cli"></a>
+ To delete an S3 access point attachments, use the [detach-and-delete-s3-access-point](https://docs.aws.amazon.com/cli/latest/reference/fsx/detach-and-delete-s3-access-point.html) CLI command (or the equivalent [DetachAndDeleteS3AccessPoint](https://docs.aws.amazon.com/fsx/latest/APIReference/API_DetachAndDeleteS3AccessPoint.html) API operation), as shown in the following example. Use the `--name` property to specify the name of the S3 access point attachment that you want to delete.

  ```
  aws fsx detach-and-delete-s3-access-point \
      --region us-east-1 \
      --name my-openzfs-ap
  ```