HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //proc/thread-self/root/lib/python3.6/site-packages/awscli/examples/iot/list-authorizers.rst
**To list your custom authorizer**

The following ``list-authorizers`` example lists the custom authorizers in your AWS account. ::

    aws iot list-authorizers
    
Output::

    {
        "authorizers": [
            {
                "authorizerName": "CustomAuthorizer",
                "authorizerArn": "arn:aws:iot:us-west-2:123456789012:authorizer/CustomAuthorizer"
            },
            {
                "authorizerName": "CustomAuthorizer2",
                "authorizerArn": "arn:aws:iot:us-west-2:123456789012:authorizer/CustomAuthorizer2"
            },
            {
                "authorizerName": "CustomAuthorizer3",
                "authorizerArn": "arn:aws:iot:us-west-2:123456789012:authorizer/CustomAuthorizer3"
            }
        ]
    }

For more information, see `ListAuthorizers <https://docs.aws.amazon.com/iot/latest/apireference/API_ListAuthorizers.html>`__ in the *AWS IoT API Reference*.