Skip to main content
info
This documentation is for version v2.3 of the product.
For the latest version(v2.7) documentation click here
Version: v2.3 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?

Create Token

  1. Go to settings
  2. Click the '+' sign Access Tokens
  3. Fill in the required information (Shown in the table below)
  4. Copy the access token (Secure it in a safe place)
AttributeDescription
Token NameName of Token
DescriptionDescription of Token
Expiry DateThe expiry date of the Token
Role NameName of the Role to which the Token will be assigned to
Expiration Alerts(1st Alert)Sends 1st alert email before the token expiration based on the specified number of days
Expiration Alerts(2nd Alert)Sends 2nd alert email before the token expiration based on the specified number of days
Note

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

Access token Use Case

Extending Authentication Timeout in Amorphic.

Access Token details

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