1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. GitAuthConfig

GitAuthConfig

    GitAuthConfig specifies git authentication configuration options. There are 3 different authentication options:

    • Personal access token
    • SSH private key (and its optional password)
    • Basic auth username and password Only 1 authentication mode is valid.

    Properties

    • accessToken SecretValue optional
      Personal access token for git authentication
    • secret string required
      The secret value in plaintext.
    • ciphertext array[string] optional
      The encrypted representation of the secret value.
    • sshAuth SSHAuth optional
      SSH private key authentication configuration
    • sshPrivateKey SecretValue required
      The SSH private key used for authentication.
    • password SecretValue optional
      An optional password or passphrase for the SSH private key.
    • basicAuth BasicAuth optional
      Basic auth username and password configuration
    • userName SecretValue required
      The user name
    • password SecretValue required
      The password