@nebius/js-sdk - v0.2.54
    Preparing search index...

    Interface ConfigOptions

    Controls how Config selects and reads a Nebius CLI profile.

    Explicit values have priority over environment values. Environment values have priority over values in the selected profile.

    interface ConfigOptions {
        authMetrics?: AuthMetricsLike;
        clientId?: string;
        configFile?: string;
        endpoint?: string;
        endpointEnv?: string;
        impersonateServiceAccountId?: string;
        logger?: string | number | Handler | Logger;
        maxRetries?: number;
        metrics?: MetricsLike;
        noEnv?: boolean;
        noParentId?: boolean;
        profile?: string | null;
        profileEnv?: string;
        tokenEnv?: string;
    }
    Index
    authMetrics?: AuthMetricsLike

    Receives authorization metrics when ConfigOptions.metrics is not set.

    clientId?: string

    Sets the OAuth client ID required by a federation profile.

    configFile?: string

    Sets the YAML config file path. ~ is expanded.

    endpoint?: string

    Sets the service endpoint and overrides environment and profile values.

    endpointEnv?: string

    Sets the endpoint environment-variable name.

    impersonateServiceAccountId?: string

    Exchanges the selected credentials for this service account.

    This value overrides impersonate-service-account-id in the profile.

    logger?: string | number | Handler | Logger

    Sets the logger used while loading configuration and credentials.

    maxRetries?: number

    Sets retries for credential exchange and impersonation. The default is 2.

    metrics?: MetricsLike

    Receives configuration and authorization metrics.

    noEnv?: boolean

    Ignores token, profile, and endpoint environment variables when true.

    noParentId?: boolean

    Disables use of the profile parent ID when true.

    profile?: string | null

    Selects a profile.

    If omitted, the reader uses the profile environment variable, the file default, or the only profile in the file, in that order.

    profileEnv?: string

    Sets the profile environment-variable name.

    tokenEnv?: string

    Sets the access-token environment-variable name.