---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [config](../index.md) / ResolveConfigOptions

# Interface: ResolveConfigOptions

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:188](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L188)

Options for configuration resolution.

## Properties

### accountManagerHost?

> `optional` **accountManagerHost**: `string`

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:204](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L204)

Account Manager hostname for OAuth (passed to plugins for host-specific config)

***

### cloudOrigin?

> `optional` **cloudOrigin**: `string`

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:200](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L200)

Cloud origin for ~/.mobify lookup (MRT)

***

### configPath?

> `optional` **configPath**: `string`

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:192](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L192)

Explicit path to config file (defaults to auto-discover)

***

### credentialsFile?

> `optional` **credentialsFile**: `string`

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:202](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L202)

Path to custom MRT credentials file (overrides default ~/.mobify)

***

### hostnameProtection?

> `optional` **hostnameProtection**: `boolean`

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:198](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L198)

Whether to apply hostname mismatch protection (default: true)

***

### instance?

> `optional` **instance**: `string`

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:190](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L190)

Named instance for supporting ConfigSources

***

### projectDirectory?

> `optional` **projectDirectory**: `string`

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:194](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L194)

Starting directory for config file search

***

### replaceDefaultSources?

> `optional` **replaceDefaultSources**: `boolean`

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:219](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L219)

Replace default sources entirely (instead of appending)

***

### sourcesAfter?

> `optional` **sourcesAfter**: [`ConfigSource`](ConfigSource.md)[]

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:216](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L216)

Custom sources to add AFTER default sources (lower priority).
These sources fill in gaps left by dw.json and ~/.mobify.

***

### sourcesBefore?

> `optional` **sourcesBefore**: [`ConfigSource`](ConfigSource.md)[]

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:210](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L210)

Custom sources to add BEFORE default sources (higher priority).
These sources can override values from dw.json and ~/.mobify.

***

### ~~workingDirectory?~~

> `optional` **workingDirectory**: `string`

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:196](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L196)

#### Deprecated

Use projectDirectory instead
