Updated on 2024-07-05 GMT+08:00

Overview

What Is an SSH Key and HTTPS Password?

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

  • SSH Keys: An SSH key is used to establish a secure connection between your local computer and CodeArts Repo under your account.

    Before connecting to CodeArts Repo in SSH mode, generate an SSH key on your computer and configure it in CodeArts Repo.

    After you configure an SSH key on a local computer and add the public key to CodeArts Repo, you can use the SSH key to access all code repositories under your account from your computer.

  • HTTPS Password: An HTTPS password is a user credential used for pulling and pushing code using the HTTPS protocol.

    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, so they cannot use the HTTPS protocol.

Either of the preceding methods can be used to push or pull code. Set a key or password as required.

What Is a GPG Public Key?

GPG (GNU Privacy Guard) is used for digital signature and authentication. When you push code to CodeArts Repo, GPG public keys ensure trusted sources and code integrity by signing and verifying Git code commits and tags.

What Is an Access Token?

When you call APIs to obtain user information, CodeArts Repo verifies your identity and permissions. Access tokens are used to authenticate third-party applications that call APIs.

An access token is a personal credential token generated in CodeArts Repo. It can read and write repositories through HTTPS.