Updated on 2024-11-22 GMT+08:00

Configuring an Access Token

Log in to the CodeArts Repo service repository list page, click the nickname in the upper right corner, choose This Account Settings > Repo > Access Token, click New Token, and set parameters based on the following table.
Table 1 Description

Parameter

Description

Token Name

Mandatory Custom name with a maximum of 200 characters.

Description

Optional. If the description is empty, -- is displayed in the list. Max. 200 characters.

Permissions

This parameter is selected by default and cannot be modified. Read/Write repo: Read from and write into repositories using HTTPS.

Expired

Mandatory Time when a token expires.

NOTE:

30 days after current date by default, including current date. For example, if a token is created on July 3, the default expiration date is 23:59:59 on August 2. The expiration date can be set to a maximum of one year and cannot be empty.

After the parameters are set, the token is successfully generated. Copy and use it in the application or script.

  • For security reasons, the token will not be displayed after this dialog box is closed. Keep the token safe. If you lose or forget it, generate a new one.
  • A maximum of 20 tokens can be created for CodeArts Repo.