Generating a Personal Access Token - Cloud

Talend Cloud API Services Platform Studio User Guide

author
Talend Documentation Team
EnrichVersion
Cloud
EnrichProdName
Talend Cloud
task
Design and Development
EnrichPlatform
Talend Management Console
Talend Studio
Bearer JWT (JSON Web Token) Personal Access Tokens are long-term credentials that you can use to sign programmatic requests to the Talend Cloud APIs.

About this task

Access Tokens are personal and the permissions they grant are synchronized with the user's permissions, at any time. When you generate a token, it is only displayed once.

You can have up to five active tokens at the same time. It is a best practice to keep as few active tokens as possible. Delete unused tokens and replace old tokens to increase the system security.

Important: Access Tokens are the safest and recommended authentication mode to use.

Procedure

  1. Log in to the Talend Cloud portal or an application.
  2. In the top right corner, click the user menu then Profile preferences.
  3. Go to the PERSONAL ACCESS TOKENS page. This page allows you to manage all your tokens.
  4. Select ADD TOKEN.
    A new page opens. If you have the Roles - Manage permission, you can see all the permissions associated to the token.
  5. Enter the Token name.
  6. Click GENERATE.
    A Bearer Token is generated and opens in a new window that is displayed only once. If you close it without copying the token, you will not be able to use this token.
  7. Copy the token and paste it where you need.

Results

Your token is now ready for use. From the PERSONAL ACCESS TOKENS page, you can check each token creation date and last use.

The permissions of the generated token correspond to your current permissions. If your permissions change after generating the token, the token permissions change accordingly.

After generating a token, you can only edit its name or delete it. Security Administrators can also see and delete your tokens. Refer to Managing personal access tokens for all users.

Example

cURL request using a generated token:
curl -X GET 'https://api.us.cloud.talend.com/tmc/v1.2/executables' \
-H 'Authorization: Bearer eyJraWQiOiJpYW0tb2lpYy1jbG91ZCIsImQu2WembcCB'