QuestionQ4

Security, Access, and Permissions

A corporate AEM as a Cloud Service customer is preparing to launch a new website feature. The feature relies on an internal Java API available in the IT-managed artifact repository. Repository access is protected by Basic Authentication.

The DevOps engineer must make this dependency available to Cloud Manager.

What should the DevOps engineer do?

  • A Use a secure CI/CD job to upload the Java API dependency to the 'adobe-public' nexus repository.
  • B Add a file to the project at path .cloudmanager/maven/settings.xml and use the command 'aio cloudmanager:set-pipeline-variables'.
  • C Download the Java API dependency and add it to the project Git repository under the path 'ui.apps/src/main/content/jcr_root'.
Explanation

Cloud Manager can retrieve artifacts from a password-protected Maven repository when the repository credentials are stored as secret pipeline variables and referenced from .cloudmanager/maven/settings.xml in the Git repository. The Adobe I/O CLI command aio cloudmanager:set-pipeline-variables configures those pipeline variables.

Learn more

Community Discussion

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