Access token

Updated at:

Use personal access tokens to call OpenAPIs.

Create an access token

  1. Log on to Alibaba Cloud DevOps. Click your profile picture in the upper-right corner and select Personal Settings. Personal Settings page

  2. In the left-side navigation pane, click Access Token, and then click Create Access Token. Configure the following settings:

    • Token Name: Enter a name.

    • Expiration Date: Set the token expiration date.

      Warning

      After a token expires, it cannot be used to call API operations.

    • Select Permissions: Select the permissions to control access..

    Description

    Describe the personal access token. This field is optional.

  3. Click Create, and then copy and save the token. Access token created

    Important

    The token is displayed only at creation and cannot be retrieved later. Alibaba Cloud DevOps encrypts your token for secure storage. Keep it safe.

Access token permissions

You can grant the following permissions to a personal access token: The permission selection panel of an Alibaba Cloud DevOps personal access token lists the functional modules (such as project management and Codeup) and their sub-permissions. By default, all permission items are No access. You can grant permissions for each module as required.

The following figure shows all available permissions.

Manage access tokens

Go to the Personal Settings > Access Token page, and click the icon image to update the token name and token permissions. Click the icon image to delete a token. On the Alibaba Cloud DevOps Personal Settings page, choose Access Token from the left-side navigation pane to go to the token management page. The upper-right corner of the page provides the Only show unexpired tokens filter check box and the Create Access Token button. Each token record displays the token name, creation time, expiration date, and expiration reminder. The right side provides two operation entries, delete and edit, which you can use to delete or modify existing tokens.

  • To modify a token, click the image icon.

  • To delete a token, click the image icon. Deleting a token immediately revokes its permissions.