Access credentials ensure the secure upload and download of container images and Helm charts. This topic describes how to configure an access credential for a Container Registry Enterprise Edition instance.

Background information

Access credentials are independent of Alibaba Cloud accounts and passwords. Access credentials are available in two types:

  • Password: A password is valid permanently. Keep it safe. If the password is lost, you can reset it.
  • Temporary token: A temporary token is valid for an hour. If the temporary token is obtained by using Security Token Service (STS), the temporary token is valid so long as the STS token is valid.

Procedure

  1. Log on to the Container Registry console.
  2. In the top navigation bar, select a region.
  3. In the left-side navigation pane, click Instances.
  4. On the Instances page, click the required Container Registry Enterprise Edition instance.
  5. On the management page of the Container Registry Enterprise Edition instance, choose Instances > Access Credential in the left-side navigation pane.
  6. On the Access Credential page, click Set Password.
  7. In the Set Password dialog box, enter the password and confirm the password. Then, click Confirm.
  8. Optional:For more information about how to set a temporary token, see GetAuthorizationToken.

What to do next

Log on to the Container Registry Enterprise Edition instance.
  1. Configure access over the Internet or virtual private clouds (VPCs). For more information, see Configure access over the Internet or Configure access over VPCs.
  2. Use the access credential to log on to the Container Registry Enterprise Edition instance. Example:
    sudo docker login --username=<Logon account> registry.cn-<Region>.aliyuncs.com