CmdID

CmdID / aws / aws iot

aws iot update-authorizer

Updates an authorizer. AWS CLI reference

1 example 6 options 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 update a custom authorizer

The following update-authorizer example he state of CustomAuthorizer2 to INACTIVE.

aws iot update-authorizer --authorizer-name CustomAuthorizer2 --status INACTIVEIdentify
--authorizer-nameThe authorizer name.
--statusThe status of the update authorizer request.
Its output
{
    "authorizerName": "CustomAuthorizer2",
    "authorizerArn": "arn:aws:iot:us-west-2:123456789012:authorizer/CustomAuthorizer2"
}

For more information, see Creating and managing custom authorizers (CLI) in the AWS IoT Core Developer Guide.

Options

6 in the AWS CLI reference
--authorizer-function-arnThe ARN of the authorizer's Lambda function.
--authorizer-nameThe authorizer name.
--enable-caching-for-httpWhen true, the result from the authorizer’s Lambda function is cached for the time specified in refreshAfterInSeconds.
--statusThe status of the update authorizer request.
--token-key-nameThe key used to extract the token from the HTTP headers.
--token-signing-public-keysThe public keys used to verify the token signature.