Skip to main content

Personal Access Token

Overview

Personal Access Token (PAT) is a string of characters that is used in lieu of password to authenticate users when trying to access the Motadata AIOps system. Currently, in context of Motadata AIOps, Personal Access Token (PAT) is used for accessing the data through APIs.

System Administrators can bind the roles and priviliges to a Personal Access Token when creating them. This will allow to fetch and display data according the user privilige and will also prevent unauthorized access to sensitive data.

At a macroscopic level, system administrators will create a Personal Access Token from within the system which will also carry the roles and privileges for the system access. The Personal Access Token will then be passed as a parameter in the API request. Now, whenever the API requests Motadata AIOps to send the data, the generated Personal Access Token will be validated. Only when the Personal Access Token is authenticated, system will send the requested data.

Go to Menu. Select Settings . After that, Go to User Settings . Select Personal Access Token. Finally, click Create Token.

Create Token Parameters

Provide the details for Personal Access Token as follows:

FieldDescription
Token NameProvide an appropriate token name. Remember each token name should be unique since you will only be able to identify PAT by their name after adding them.
DescriptionGive a description for the PAT. You can mention the purpose for which the PAT is being created, roles and privliges assigned to it, or any other identifier text.
UserUse the drop-down menu to select a user. The PAT will have the access and priviliges according the Role of the user selected here. The available roles in the drop-down will vary based on your organization tree.
ValidityUse the drop-down to select the validity period for the PAT you are creating. The PAT will expire and will no longer facilitate the access to the system once the selected time is passed after creating the PAT. It is strongly recommended that you DO NOT choose the Never option.
GenerateClick on the button once you have filled all the details.
Personal Access Token

After clicking Generate, the PAT will be available in this field. You can view it by clicking on the eye icon. To copy it, click on the copy icon

.

This will be first and last time you will be able to view the Personal Access Token. If the PAT is misplaced, you will have to generate a new PAT again.

Select the Reset button to erase all the current field values, if required. Select Create Token to create the token with the information mentioned in all the parameters.

Actions for Personal Access Token

Revoke a Personal Access Token

In the event of a data breach or when you wish to retire a Personal Access Token from accessing your system, you can revoke its access.

On the Personal Access Token screen, click on and select the Revoke Access option. An alert will appear on your screen. Click on Yes to confirm your action.