Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM Target configurations

Avatar

Level 2

Hi All,

 

I am working on integration of AEM 6.5.11 with Target via Adobe I/O (using Adobe IMS configuration). I have configured it on dev environment.

 

Is there a way to package AEM target configurations (or add it in the codebase) so as to move it to higher environments (like QA, Stage)? Or do we need to do the configuration manually in all the environments?

 

7 Replies

Avatar

Community Advisor

Let me share my project experience, we have done integration between AEM 6.5.10 and Target via Adobe I/O (using Adobe IMS configuration) on QA environment first.

 

We have created certificate , API Key, Client secret , JSON payload and these all are specific to QA environment.

I came to know that we need to perform similar activity on Production separately. 

 

 

Avatar

Level 2

Did you use the same project that you created in Adobe I/O for QA as well as prod? or a separate project?

Avatar

Community Advisor

It would be a different project as the public key will vary for different environments .

Avatar

Level 2

But we can attach multiple public keys with the same project. So, what is the best approach?

Avatar

Level 10

As you might already know, AEM Adobe integration is a two step process-

  1. Creating the IMS configuration - When you create "Adobe IMS Configurations" for AEM and Target integration, the values gets stored at /apps/system/config/com.adobe.granite.auth.oauth.accesstoken.provider.c023ae85-c724-46d5-8512-ef02442ffc78.config
    You can go ahead and create run modes at this location - examples in /libs/systemBut as you see this a location for AEM OOTB generated configurations, it is not recommended to do so. You should set it up manually for each environment since this is a one time activity for different environments
  2. Creating the cloud configurations - this resides at location /etc/cloudservices/testandtargetYou cannot create a runmode for this one. You have create cloud configuration for each environment separately as the creds will be different.

So to summarize, you should create your own configs per environments as this is one time activity and it helps in identifying any connection issue during the setup.

Avatar

Level 2

Hi @anish-s 

Thanks for your response.

I have already tried the above 2-steps. First step by adding the config file on to my project config and second step by creating a package but just wanted to know the best way to deal with multiple environments.

 

So yes, creating separate configs per environment would be the best.

Avatar

Level 2

I was able to attach multiple public keys (per environment) with the same project in Adobe I/O and it works fine as well.