Databricks SDK for JavaScript
    Preparing search index...

    Options for newM2mCredentials.

    interface M2mCredentialsOptions {
        accountId?: string;
        clientId: string;
        clientSecret: string;
        host: string;
        scopes?: string[];
    }
    Index

    Properties

    accountId?: string

    Databricks account ID. Required for account hosts.

    clientId: string

    OAuth client ID issued to the service principal.

    clientSecret: string

    OAuth client secret issued to the service principal.

    host: string

    Databricks host (workspace or account) used to discover the OAuth token endpoint.

    scopes?: string[]

    OAuth scopes to request. When omitted or empty, defaults to ['all-apis'].