Solved

To Secure Composer Credentials You Want to Remove the Auth

Question 36

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents