---
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:241](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L241)

Options for configuration resolution.

## Properties

### accountManagerHost?

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

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:257](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L257)

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:253](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L253)

Cloud origin for ~/.mobify lookup (MRT)

***

### configPath?

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

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:245](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L245)

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

***

### credentialsFile?

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

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:255](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L255)

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

***

### hostnameProtection?

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

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:251](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L251)

Whether to apply hostname mismatch protection (default: true)

***

### instance?

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

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:243](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L243)

Named instance for supporting ConfigSources

***

### projectDirectory?

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

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:247](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L247)

Starting directory for config file search

***

### replaceDefaultSources?

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

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:272](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L272)

Replace default sources entirely (instead of appending)

***

### sourcesAfter?

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

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:269](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L269)

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:263](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L263)

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:249](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/config/types.ts#L249)

#### Deprecated

Use projectDirectory instead
