Log in
Interface

ServicesConfigInterface

Magento\ServicesId\Model\ServicesConfigInterface

What it does

This interface defines the contract for accessing SaaS (Software as a Service) configuration values in Magento 2.

Developers use this to retrieve API keys, project/environment details, and IMS organization settings needed to connect Magento with Adobe Commerce SaaS services.

It also provides methods to check if API keys are configured and to update configuration values programmatically.

Public Methods

  • getProjectId()
  • getProjectName()
  • getEnvironmentId()
  • getEnvironmentName()
  • getEnvironmentType()
  • getSandboxApiKey()
  • getSandboxPrivateKey()
  • getProductionApiKey()
  • getProductionPrivateKey()
  • getImsOrganizationId()
  • getCloudId()
  • isApiKeySet()
  • getRegistryApiUrl()
  • setConfigValues()
  • getDisabledFields()