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 user service, or they result in a "404 Not Found" response.

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

Language