[僅限PaaS]{class="badge informative" title="僅適用於雲端專案(Adobe管理的PaaS基礎結構)和內部部署專案的Adobe Commerce 。"}

服務設定路徑參考

此區段列出​ 商店 >設定> 設定 > 服務 ​底下「管理員」中選項的變數名稱和設定路徑。

magento app:config:dump命令將這些值寫入到共用組態檔app/etc/config.php,它應該是在原始檔控制中。 若要選擇性地覆寫任何組態設定或設定敏感設定,請參閱使用環境變數覆寫組態設定。 此主題​ ​列出敏感值和系統特定值

Commerce Web API路徑

這些設定值可在​ 商店 >設定> 設定 > 服務 > 網頁API ​中的管理員中使用。

名稱
設定路徑
僅限Commerce?
預設回應字元集
webapi/soap/charset
允許匿名訪客存取
webapi/webapisecurity/allow_insecure

OAuth路徑

這些設定值可在​ 商店 >設定> 設定 > 服務 > OAuth ​中的管理員中使用。

名稱
設定路徑
僅限Commerce?
客戶權杖存留期(小時)
oauth/access_token_lifetime/customer
管理Token期限(小時)
oauth/access_token_lifetime/admin
清除機率
oauth/cleanup/cleanup_probability
有效期
oauth/cleanup/expiration_period
有效期
oauth/consumer/expiration_period
OAuth消費者憑證HTTP貼文最大重新導向
oauth/consumer/post_maxredirects
OAuth消費者憑證HTTP Post逾時
oauth/consumer/post_timeout
recommendation-more-help
386822bd-e32c-40a8-81c2-ed90ad1e198c