Lists the access points created for your account or a specific bucket.
Usage notes
By default, an Alibaba Cloud account has permission to list access points. To list access points as a RAM user or Security Token Service (STS) user, you must have the oss:ListAccessPoints permission. For more information, see Attach a custom policy to a RAM user.
Syntax
ossutil api list-access-points [flags]Flags
| Flag | Type | Description |
|---|---|---|
--bucket | string | The name of the bucket. Use this flag to filter results to bucket-level access points only. |
--continuation-token | string | The token used to retrieve the next page of results. Use the value returned in the NextContinuationToken field of a previous response. |
--max-keys | string | The maximum number of access points to return per request. |
The list-access-points command maps to the ListAccessPoints API operation. For supported global flags, see Command-line options.Examples
List all access points under your account
ossutil api list-access-pointsList access points for a specific bucket
ossutil api list-access-points --bucket examplebucketReturn results in JSON format
ossutil api list-access-points --output-format jsonReturn results in YAML format
ossutil api list-access-points --output-format yamlRetrieve the next page of results
ossutil api list-access-points --continuation-token CgJiYw123Limit the number of results returned
ossutil api list-access-points --max-keys 10