Updated on 2023-08-07 GMT+08:00

HTTPS Password

Introduction

When you push code to or pull code from CodeArts Repo, the repository needs to verify your identity and permissions. HTTPS is an authentication mode for remote access to CodeArts Repo.

  • HTTPS username

    The value can be the tenant name or IAM username. Enter the complete username. If you want to add the username to the URL, escape '/' to ' %2F'.

    When setting the HTTPS password for the account (the account name is the same as the username), you can enter only the account name.

  • HTTPS password
    • Enter a password containing 8 to 32 characters. The password must contain at least three types of digits, uppercase letters, lowercase letters, and special characters. It cannot be the same as the username or the username spelled backwards.
    • An HTTPS password is a user credential used for pulling or pushing code using the HTTPS protocol. Each developer needs to set a password only once and can use it for all repositories.
    • Keep your HTTPS password secure and change it periodically to avoid security risks. If you forget the password, set a new HTTPS password.

By default, the HTTPS password is the Huawei Cloud login password. The password can be synchronized in real time. You can also select Set new password to change the password.

Changing the HTTPS Password

You need to set the initial password upon the first login. You can also change the HTTPS password at any time. The procedure is as follows:

  1. Log in to the CodeArts Repo service repository list page, click the alias in the upper right corner, and choose This Account Settings > HTTPS Password. The page is displayed.

  2. Choose Set new password to reset the password. (If you have set an HTTPS password and are using it, click Change.)

  3. Enter the new password and email verification code, select I have read and agree to the Privacy Statement and CodeArts Service Statement, and click OK. A message is displayed, indicating that the operation is successful.
  4. After the password is reset, you need to regenerate the repository credential locally and check the IP address whitelist. Otherwise, you cannot interact with the CodeArts Repo repository.

    Delete the local credential (for example, on Windows, choose Control Panel > User Accounts > Manage Windows Credentials > Generic Credentials), use HTTPS to clone the cloud repository again, and enter the correct account and password in the dialog box that is displayed.

    If SSL certificate problem is displayed, run the following command on Git client:

    git config --global http.sslVerify false

  • You can click Use Huawei Cloud Account Password to reset the password and customize a password at any time.
  • If the account is upgraded to a Huawei ID, the tenant-level function of Use HUAWEI CLOUD Account Password is no longer supported (the function is still valid for IAM users).
  • The maximum size of a package that can be pushed at a time using HTTPS is 200 MB. If the size is greater than 200 MB, use the SSH mode.
  • Federated users cannot be bound to email addresses and do not support the HTTPS protocol.

Verifying Whether an HTTPS Password Takes Effect

After setting an HTTPS password, you can perform HTTPS-clone on the repository that you have the access permission on the client. A dialog box is displayed, asking you to enter the account and password. If the clone is successful, the password is configured.

You can also use the HTTPS protocol to set password-free code submission. For details, see Setting Password-Free Access via HTTPS