@salesforce/b2c-tooling-sdk / config / DwJsonMultiConfig
Interface: DwJsonMultiConfig
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:165
dw.json with multi-config support (configs array).
Extends
Properties
accountManagerHost?
optionalaccountManagerHost:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:73
Account Manager hostname for OAuth
Inherited from
DwJsonConfig.accountManagerHost
active?
optionalactive:boolean
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:37
Whether this config is active (for multi-config files)
Inherited from
apiBackend?
optionalapiBackend:"ocapi"|"scapi"|"auto"
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:123
API backend preference for operations that support both OCAPI and SCAPI
Inherited from
assetQuery?
optionalassetQuery:string[]
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:109
JSON dot-paths for asset extraction during content library parsing (defaults to ['image.path'])
Inherited from
authMethods?
optionalauthMethods:AuthMethod[]
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:63
Allowed authentication methods in priority order
Inherited from
autoUpload?
optionalautoUpload:boolean
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:91
Whether to auto-start code upload/sync in IDE extensions
Inherited from
cartridges?
optionalcartridges:string|string[]
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:93
Cartridge names to include in deploy/watch (string with colon/comma separators, or array)
Inherited from
catalogs?
optionalcatalogs:string[]
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:99
Catalog IDs for WebDAV browsing
Inherited from
certificate?
optionalcertificate:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:117
Path to PKCS12 certificate file for mTLS (two-factor auth)
Inherited from
certificatePassphrase?
optionalcertificatePassphrase:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:119
Passphrase for the certificate
Inherited from
DwJsonConfig.certificatePassphrase
cipHost?
optionalcipHost:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:111
Optional CIP analytics host override
Inherited from
clientAuthMethod?
optionalclientAuthMethod:ClientAuthMethod
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:75
How client credentials are sent to Account Manager
Inherited from
clientId?
optionalclientId:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:47
OAuth client ID
Inherited from
clientSecret?
optionalclientSecret:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:49
OAuth client secret
Inherited from
codeVersion?
optionalcodeVersion:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:41
Code version for deployments
Inherited from
configs?
optionalconfigs:DwJsonConfig[]
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:167
Array of named instance configurations
contentLibrary?
optionalcontentLibrary:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:97
Default content library ID for content export/list commands
Inherited from
docsCategories?
optionaldocsCategories:string[]
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:113
Documentation categories to expose (allowlist); dw.json key docs-categories
Inherited from
hostname?
optionalhostname:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:39
B2C instance hostname
Inherited from
importSetExclude?
optionalimportSetExclude:string[]
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:95
Directory paths to exclude recursively from import-set source discovery
Inherited from
jwtCertPath?
optionaljwtCertPath:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:127
Path to JWT certificate file (cert.pem) for JWT authentication
Inherited from
jwtKeyPath?
optionaljwtKeyPath:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:129
Path to JWT private key file (key.pem) for JWT authentication
Inherited from
jwtPassphrase?
optionaljwtPassphrase:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:131
Optional passphrase for encrypted JWT private key
Inherited from
libraries?
optionallibraries: (string|LibraryEntry)[]
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:107
Library IDs for WebDAV browsing and the Content Libraries tree.
Accepts either a string array or a mixed array of strings and {id, siteLibrary?} objects. Object entries can mark individual libraries as site-private.
Inherited from
mrtApiKey?
optionalmrtApiKey:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:81
MRT API key
Inherited from
mrtBackend?
optionalmrtBackend:"scapi"|"auto"|"legacy"
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:125
MRT backend preference: legacy MRT Cloud API vs SCAPI MRT deployments API
Inherited from
mrtEnvironment?
optionalmrtEnvironment:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:79
MRT environment name (e.g., staging, production)
Inherited from
mrtOrigin?
optionalmrtOrigin:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:83
MRT cloud origin URL
Inherited from
mrtProject?
optionalmrtProject:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:77
MRT project slug
Inherited from
name?
optionalname:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:35
Instance name (for multi-config files)
Inherited from
oauthScopes?
optionaloauthScopes:string[]
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:51
OAuth scopes
Inherited from
password?
optionalpassword:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:45
Password/access-key for Basic auth (WebDAV)
Inherited from
realm?
optionalrealm:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:89
Default ODS realm for sandbox operations
Inherited from
safety?
optionalsafety:object
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:149
Safety configuration for this instance.
confirm?
optionalconfirm:boolean
level?
optionallevel:string
rules?
optionalrules:object[]
Example
{
"safety": {
"level": "NO_UPDATE",
"confirm": true,
"rules": [
{ "job": "sfcc-site-archive-export", "action": "allow" },
{ "command": "sandbox:*", "action": "confirm" }
]
}
}Inherited from
sandboxApiHost?
optionalsandboxApiHost:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:87
ODS API hostname
Inherited from
scapiSchemas?
optionalscapiSchemas:string[]
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:115
Local SCAPI OpenAPI contracts (files, directories or http(s) URLs) for MCP code mode; dw.json key scapi-schemas
Inherited from
selfSigned?
optionalselfSigned:boolean
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:121
Whether to skip SSL/TLS certificate verification (self-signed certs)
Inherited from
shortCode?
optionalshortCode:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:59
SCAPI short code
Inherited from
siteId?
optionalsiteId:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:57
B2C Commerce site/channel ID
Inherited from
slasClientId?
optionalslasClientId:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:53
SLAS client ID for shopper authentication
Inherited from
slasClientSecret?
optionalslasClientSecret:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:55
SLAS client secret for private shopper clients
Inherited from
tenantId?
optionaltenantId:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:85
Tenant/Organization ID for SCAPI
Inherited from
userAuth?
optionaluserAuth:boolean
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:71
Shorthand for "auth-methods": ["user"]. When true, browser-based Authorization Code + PKCE is the only OAuth method tried.
Mutually exclusive with authMethods — setting both in the same dw.json is rejected during config mapping.
Inherited from
username?
optionalusername:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:43
Username for Basic auth (WebDAV)
Inherited from
webdavHostname?
optionalwebdavHostname:string
Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:61
Alternate hostname for WebDAV (if different from main hostname)