Databricks SDK for JavaScript
    Preparing search index...

    Configures how a profile is resolved by resolve.

    Resolution is enabled by default: with no options, resolve reads the config file and overlays DATABRICKS_* environment variables on top. Each source can be disabled independently with ProfileOptions.noProfile and ProfileOptions.disableEnv.

    interface ProfileOptions {
        configFile?: string;
        disableEnv?: boolean;
        noProfile?: boolean;
        profile?: string;
    }
    Index

    Properties

    configFile?: string

    Path to the databrickscfg file. If not set, reads DATABRICKS_CONFIG_FILE from the environment, falling back to ~/.databrickscfg.

    disableEnv?: boolean

    Disable overlaying DATABRICKS_* environment variables.

    noProfile?: boolean

    Disable reading the config file. Cannot be combined with ProfileOptions.profile or ProfileOptions.configFile, which would have nothing to read.

    profile?: string

    Profile name (INI section) to load. If not set, resolves from the DATABRICKS_CONFIG_PROFILE environment variable, then the default_profile key in the settings section, then falls back to the DEFAULT section.