Create a JWT authentication token for the specified user

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Specifies the full user name of the primary or subaccount user that is requesting a token.

string
required

Specifies the password for the specified user.

string

Only for a subaccount user, specifies the external ID of the ChaosSearch deployment.

string

Specify the service for a token request.

boolean

Specify true for this value.

Headers
string
required

Must specify login to create the JWT.

Responses
200

Token created and displayed

Language
LoadingLoading…
Response
Choose an example:
application/json