HTTPS Authorization

Learn how to clone the repository using HTTPS.

To clone the repository by using HTTPS, copy the displayed URL.
Note

You need an auth token to clone the repository using HTTPS.

On the local machine's command line, change the working directory location to where you want to clone the repository, and run the git clone command with the HTTPS URL you copied.

For example, git clone https://devops.scmservice.us-ashburn-1.oci.oraclecloud.com/namespaces/MY-TENANCY/projects/PROJECT-NAME/repositories/REPO-NAME

You must provide the username (with tenancy, optional federated identity and username) and password (auth token) when prompted.

For a federated user, enter the username in the following format: TenancyName/Federation/UserName. For example, if you use OCI's identity provider, the sign-in would be, Acme/oracleidentitycloudservice/alice.jones@acme.com.

If you're using OCI's direct sign-in, enter the username in the following format: TenancyName/YourUserName. For example, Acme/alice_jones. The password is the auth token you created before.

You can also insert the username and password (auth token) in the URL while cloning the repository. For example, git clone https://<TenancyName>%2f<Federation>%2f<UserName>:<base64 encoded auth token>@devops.scmservice.us-ashburn-1.oci.oraclecloud.com/namespaces/MY-TENANCY/projects/PROJECT-NAME/repositories/REPO-NAME