Interface GitCredentialsService


  • @Generated
    public interface GitCredentialsService
    Registers personal access token for Databricks to do operations on behalf of the user.

    See [more info].

    [more info]: https://docs.databricks.com/repos/get-access-tokens-from-git-provider.html

    This is the high-level interface, that contains generated methods.

    Evolving: this interface is under development. Method signatures may change.

    • Method Detail

      • create

        CreateCredentialsResponse create​(CreateCredentials createCredentials)
        Create a credential entry.

        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.

      • delete

        void delete​(DeleteGitCredentialRequest deleteGitCredentialRequest)
        Delete a credential.

        Deletes the specified Git credential.

      • list

        GetCredentialsResponse list()
        Get Git credentials.

        Lists the calling user's Git credentials. One credential per user is supported.

      • update

        void update​(UpdateCredentials updateCredentials)
        Update a credential.

        Updates the specified Git credential.