Skip to main content
Version: v3.0 print this page

Access Tokens

Access Tokens are type of tokens that Amorphic uses to make API requests on behalf of a user. The access token represents the authorization of a specific application to access specific parts of a user’s data.

Access tokens

How to create an access token?

  1. Navigate to the Profile & Settings from homepage.
  2. Click on the Access Tokens section and click on 'Create Access Token' button.
  3. Fill in the required information (Shown in the table below) and Create Token.
  4. Copy the access token displayed on the screen and secure it.
  5. Note: If the popup is closed then user will not be able to view the token and have to create a new token again.
AttributeDescription
Token NameName of Token
Expiry DateThe expiry date of the Token
DescriptionDescription of Token
Role NameName of the Role to which the Token will be assigned to
Expiration Alerts(1st Alert Before)Sends 1st alert email before the token expiration based on the specified number of days
Expiration Alerts(2nd Alert Before)Sends 2nd alert email before the token expiration based on the specified number of days

Create Token

Note

You will receive email notifications before the token expires based on the specified Expiration Alerts (1st and 2nd alert deadlines).

Use Case

Extending Authentication Timeout in Amorphic: When using Amorphic via cli/curl, users need an Authentication Header to access Amorphic. However, the Authentication header value has a timeout limit, which can cause authentication timeout errors. To avoid this issue, users can create an Access Token with a set timeout date and time, allowing them to extend the timeout to a much longer period. By using this feature, users can reduce the need to obtain a new value from the Amorphic console repeatedly. The Access Token value acts as the value for the authentication header, based on the timeout that has been set by the user. This approach provides a seamless experience for users and ensures that they can access Amorphic for longer periods without interruptions due to authentication timeouts.

Access Token details