Create a JWT for secure authentication of a primary or subaccount user.
The command outputs a token valid for 24 hours for the associated user.

The /user/* calls also require the header "x-amz-chaossumo-route-token: login" to communicate with the userservice, or they result in a "404 Not Found" response.

Unlike other ChaosSearch endpoints which require V4 signing, the /user/ endpoints require a JWT token for the primary/tenant account. You obtain the token using this /user/login endpoint, and then pass the token in any subsequent /user/ endpoints.

Language