Skip to content

Git Credentials

Most Git servers require authentication to communicate with a repository. If your repositories allow anonymous access, skip this section.

In MDOpen: Settings → DevOps Settings → Git Credentials → Add


General Settings

Credential ID

A unique identifier of up to 10 characters for this authentication configuration.

Description

A human-readable description of the credentials.

Git Authentication

The authentication method to use when connecting to the Git server.

  • SSH — A private/public key pair is used for authentication.
  • User/Password — A username and password are used for authentication.

SSH Authentication Settings

SSH Key

The name of the private key registered in MDCMS. Use the content-assist icon to select from a list. To create a new key pair, click the Generate New Key Pair button (see below).

Note: MDCMS no longer supports SHA1 keys, which have been broadly deprecated by the SSH community.

Set New Passphrase

If the private key is protected by a passphrase, enter it here.


Generate New Key Pair

Key Name

A distinct name for the private key. The public key will be given the same name with a .pub suffix.

Key Type

The cryptographic algorithm to use for the key pair. ed25519 is recommended. RSA is a legacy option; if selected, also set the RSA Size in Bits.

RSA Size in Bits

Applies only when Key Type is RSA. Options are 1024, 2048, 3072 (recommended), or 4096 bits.

Comment

An optional comment appended to the end of the public key value.

Passphrase

A secret value used to protect the private key.

After generating the key pair, click View Public Key and copy the entire string from the .pub editor. Add that value to the list of authorized keys on the origin Git server, then click Save to store the Credential definition.


User/Password Authentication Settings

Repo User

The user ID of the account registered on the Git server.

Set New Password

The password for the Git server account.

Click Save once the values are entered.