Description and usage of the app.config.yaml file

Last update: 2023-08-09
  • Created for:
  • Beginner

This file determines the configuration for the application.

Who is this video for?

  • Developers new to Adobe Commerce with limited experience with Adobe App Builder who are learning about the app.config.yaml in the sample application.

Video content

  • The app.config.yaml file discussed
  • How are definitions link to other .js files

Code Sample

# Specify your secrets here
# This file must not be committed to source control
## Adobe I/O Runtime credentials
## Adobe I/O Console service account credentials (JWT) Api Key

# You can also include commerce OAuth credentials, our sample module will use the following example credentials:

You can see these static values being used in the sample module in file actions/commerce.index.js

        const oauth = getCommerceOauthClient(
                url: params.COMMERCE_BASE_URL,
                consumerKey: params.COMMERCE_CONSUMER_KEY,
                consumerSecret: params.COMMERCE_CONSUMER_SECRET,
                accessToken: params.COMMERCE_ACCESS_TOKEN,
                accessTokenSecret: params.COMMERCE_ACCESS_TOKEN_SECRET

On this page