Tokens
Note: The Tokens feature is available for Litmus Edge Manager 2.7.0 and later.
The Tokens module allows you to create, view, and remove long-term tokens that can access your Litmus Edge Manager companies and their projects. These tokens help facilitate better communication between a Litmus Edge Manager and its Litmus Edge instances. You can use the API to mass deploy and configure edge instances. These tokens are best utilized within a CI/CD script to manage Litmus Edge Manager and its Litmus Edge instances.
Each token has the following configuration parameters:
- Token name
- Time to live: The expiration date of the token
- Scope: The permissions the scope has and how many companies/projects the token can access
- Edge API Bridge (available for Litmus Edge Manager 2.15.0 and later): Allows you to integrate multiple Litmus Edge REST APIs through a single Litmus Edge Manager endpoint.
After creating the token, you can use it in the API through the custom field X-AuthToken in the HTTP header.
For example:
X-AuthToken: zZA82pIo70xzsrwmSl1f0P6DSfvuZgo1
To access the REST API documentation for Litmus Edge Manager, use the following URL: [LEM URL]/api/v1/swagger-ui.html.
To access the Tokens UI:
- Log in to the Litmus Edge Manager (LEM) Admin Console at the following URL: https://[LEM IP address]:8446.
- From the Navigation panel, select Settings. Settings' Domain/SSL pane by default appears.
- From Settings' navigation sub-panel, select Tokens. Settings' Tokens pane appears.