QuestionQ28

VerifiedGiven a scenario, identify how to use AEM APIs and integration patterns

An AEM development team is developing a new multi-country application with AEM as a Cloud Service. A developer has been assigned to build the integration with a third-party web service. A secret key is required to connect to this web service. Website creators will provide this key. The key differs for each environment type (dev, stage, and production).

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

Explanation

AEM as a Cloud Service requires sensitive OSGi configuration values, including private API keys, to be supplied as Cloud Manager secret environment variables and referenced by the OSGi configuration. This keeps the secret out of source control while allowing a different value for each environment.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!