Databricks SDK for JavaScript
    Preparing search index...
    • Creates a Credentials that can be used to authenticate with a Personal Access Token.

      Parameters

      • token: string

        The personal access token.

      Returns Credentials

      Credentials for PAT authentication.

      PatCredentialsError with code TOKEN_REQUIRED if the token is empty after trimming, or TOKEN_MALFORMED if it contains internal whitespace.