ExamGecko
Question list
Search
Search

Related questions











Question 40 - AD0-E134 discussion

Report
Export

An AEM development team is working on a new multi-country application using AEM as a Cloud

Service. A developer has been assigned the task for building the integration with a third-party web service. A secret key is needed to connect with this web service. The website creators will provide this key. The key is different for each type of environment (dev, stage and production)

What is the recommended way to make the secret key available in the AEM application?

A.
Use a context aware configuration
Answers
A.
Use a context aware configuration
B.
Read the key value from a property file stored in the code base
Answers
B.
Read the key value from a property file stored in the code base
C.
Use an environment variable which is then consumed by an OSGi configuration
Answers
C.
Use an environment variable which is then consumed by an OSGi configuration
D.
Read the key value from OSGi configuration stored in run nNdes
Answers
D.
Read the key value from OSGi configuration stored in run nNdes
Suggested answer: C

Explanation:

The recommended way to make the secret key available in the AEM application is to use an environment variable which is then consumed by an OSGi configuration. This way, the secret key is not stored in the code base or in the repository, but rather in a secure and encrypted way in the Cloud Manager environment variables. The OSGi configuration can use a placeholder to reference the environment variable and inject its value at runtime. Reference:

https://experienceleague.adobe.com/docs/experience-manager-cloudservice/implementing/deploying/configuring-osgi.html?lang=en#environment-variables

https://experienceleague.adobe.com/docs/experience-manager-cloudservice/implementing/deploying/environment-variables.html?lang=en

asked 02/10/2024
Harieswaran Ramesh
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first