Services configuration paths reference

This section lists variable names and config paths available for options in the Admin under Stores > Settings > Configuration > Services.

The magento app:config:dump command writes these values to the shared configuration file, app/etc/config.php, which should be in source control. To optionally override any configuration settings or to set sensitive settings, see Use environment variables to override configuration settings. This topic does not list sensitive and system-specific values.

Commerce Web API paths

These configuration values are available in the Admin in Stores > Settings > Configuration > Services > Web API.

Name
Config path
Commerce only?
Default Response Charset
webapi/soap/charset
Allow Anonymous Guest Access
webapi/webapisecurity/allow_insecure

OAuth paths

These configuration values are available in the Admin in Stores > Settings > Configuration > Services > OAuth.

Name
Config path
Commerce only?
Customer Token Lifetime (hours)
oauth/access_token_lifetime/customer
Admin Token Lifetime (hours)
oauth/access_token_lifetime/admin
Cleanup Probability
oauth/cleanup/cleanup_probability
Expiration Period
oauth/cleanup/expiration_period
Expiration Period
oauth/consumer/expiration_period
OAuth consumer credentials HTTP Post maxredirects
oauth/consumer/post_maxredirects
OAuth consumer credentials HTTP Post timeout
oauth/consumer/post_timeout
recommendation-more-help
386822bd-e32c-40a8-81c2-ed90ad1e198c