CmdID

CmdID / aws / aws iot

aws iot set-default-authorizer

Sets the default authorizer. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

1 in the AWS CLI reference
--authorizer-nameThe authorizer name.