Skip to contents

Creates a Git credential entry for the user. Only one Git credential per user is supported, so any attempts to create credentials if an entry already exists will fail. Use the PATCH endpoint to update existing credentials, or the DELETE endpoint to delete existing credentials.

Usage

create_git_credential(
  client,
  git_provider,
  git_username = NULL,
  personal_access_token = NULL
)

gitCredentialsCreate(
  client,
  git_provider,
  git_username = NULL,
  personal_access_token = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

git_provider

Required. Git provider.

git_username

Git username.

personal_access_token

The personal access token used to authenticate to the corresponding Git provider.