aws iot set-default-authorizer
Sets the default authorizer. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To set a default authorizer
The following set-default-authorizer example sets the custom authorizer named CustomAuthorizer as the default authorizer.
aws iot set-default-authorizer --authorizer-name CustomAuthorizerIdentify--authorizer-nameThe authorizer name.Its output
{
"authorizerName": "CustomAuthorizer",
"authorizerArn": "arn:aws:iot:us-west-2:123456789012:authorizer/CustomAuthorizer"
}For more information, see Creating and managing custom authorizers (CLI) in the AWS IoT Core Developer Guide.
Options
--authorizer-nameThe authorizer name.