Lists all aliases associated with the CMK.

Request parameters

Name Type Required Description
PageNumber Integer No The current page number. Valid value: An integer greater than 0. The default value is 1.
PageSize Integer No The number of items on each page. Valid value: An integer between 0 and 101. The default value is 10.
KeyId String Yes Globally unique identifier of the CMK.

Response parameters

Name Type Description
AliasName String The unique identifier of an alias.
AliasArn String The ARN of the alias.
KeyId String The CMK queried.
TotalCount Integer The total number of items returned.
PageNumber Integer The current page number.
PageSize Integer The number of items on each page.


Request example
&<Common Request Parameters>

Response example

JSON format

//json response
        "Aliases": {
                "Alias": [
                                "AliasName": "alias/ExampleAlias1",
                                "KeyId": "08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4xxxx",
                                "AliasArn": "acs:kms:cn-hangzhou:123456:alias/ExampleAlias1"
        "TotalCount": 1,
        "PageNumber": 1,
        "PageSize": 10,
        "RequestId": "1b57992c-834b-4811-a889-f8bac1ba0353"

XML format

//xml response