To secure composer credentials you want to remove the auth.json file from the project repository. How do you do that?
A) The build phase runs on a separate server and variables are not available there, you must keep the credentials in the auth.json file, but you can replace the password with its hash The build phase runs on a separate server and variables are not available there, you must keep the credentials in the file, but you can replace the password with its hash
B) Add the env:COMPOSER_AUTH variable on the project level and make it visible on the build phase Add the env:COMPOSER_AUTH variable on the project level and make it visible on the build phase
C) Put the composer credentials into /mnt/build/.config/composer/auth.json Put the composer credentials into /mnt/build/.config/composer/auth.json
D) Add the COMPOSER_AUTH variable with the sensitive option enabled COMPOSER_AUTH variable with the sensitive option enabled
Correct Answer:
Verified
Q31: After deploying to Staging for the first
Q32: You need to directly access the database
Q33: You are adding a new website to
Q34: You are going to create a backup
Q35: You need to test a data-related issue
Q37: Magento Support advises you to upgrade to
Q38: Exploring the Production environment, you find MYSQL_USE_SLAVE_CONNECTION
Q39: After making changes to custom commands in
Q40: You added the env:ADMIN_PASSWORD variable in the
Q41: You need to get code with a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents