Posted by: Pdfprep
Post Date: January 3, 2021
You are testing an integration to an external service that requires you to configure an access key in an environment variable. You created a new environment to validate the functionality. The variable must only impact this environment.
How do you configure the variable?
A . Use the magento-cloud CLI utility with the environment, inheritable and level flags
B . Add the variable to the variables section under Project Settings specifying inheritance level
C . Add the variable to the .magento.env.yaml file specifying the environment and inheritable
D . Use vendor/bin/ece-tools to generate a local config.php file and commit the setting
Answer: C
Explanation:
Reference: https://devdocs.magento.com/cloud/env/variables-deploy.html
Leave a Reply