QuestionQ7

Security, Access, and Permissions

A DevOps engineer must store a separate API key for the author and publish instance servers. The API key must be available to the service class com.my_company.core.APIService.

API keys:

  • Author: KEY-001
  • Publish: KEY-002

Which option should the DevOps engineer use?

  • A
  • B
  • C
  • D
Explanation

AEM uses config.author and config.publish folders for OSGi configurations that apply respectively to author and publish run modes. Placing com.my_company.core.APIService.cfg.json in each folder and assigning its key property provides the service with the appropriate API key for that instance type.

Learn more

Community Discussion

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