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:
- 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.
Alternatively, log in to the repository list page of CodeArts Repo and click the icon to go to the HTTPS Password page.
- Choose Set new password to reset the password. (If you have set an HTTPS password and are using it, click Change.)
- 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.
- 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
). 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 login password to reset the password at any time. You can also click Set Password to customize a password at any time.
- If the account is upgraded to a HUAWEI ID, the tenant-level function of Use Huawei Cloud login 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 set password-free access via HTTPS. For details, see Setting Password-Free Access via HTTPS
- When the Huawei Cloud login password is used for HTTPS code cloning, only three-segment (tenant name, IAM username, and IAM user password) authentication is supported. The two-segment Huawei Cloud (account and password) authentication is not supported.
- The account must have the programmatic access permission to pass the authentication.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot