How to access cloud environment variables to crx/de or any configuration | Community
Skip to main content
Sanjay_Bangar
Community Advisor
Community Advisor
February 24, 2022
Solved

How to access cloud environment variables to crx/de or any configuration

  • February 24, 2022
  • 2 replies
  • 1471 views

Hi All,

  I have to add environment specific (uat and prod) token and api key on cloud instead of creating separate OSGI configuration for each environment.I hav found how to set the environment variables on cloud for each environment on cloud itself using below link

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-cloud-manager/environment-variables.html?lang=en

But I could not able to see how to access these variables in my OSGI configuration.

Kr,

Sanjay

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

In AEM as a Cloud Service you cannot configure replication agents.

2 replies

Kishore_Kumar_
Level 9
February 24, 2022
Sanjay_Bangar
Community Advisor
Community Advisor
February 24, 2022

Hi @kishore_kumar_ ,

     I tried the way they have mentioned but I want environment variables value in replication agent but i could not able to do it using above approach.

 

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
February 25, 2022

In AEM as a Cloud Service you cannot configure replication agents.

kautuk_sahni
Community Manager
Community Manager
May 30, 2022

@sanjay_bangar 

[Webinar | AEM GEMs] Looking under the hood - Cloud Manager 2022 | Register: https://adobe.ly/3t4jfgp  & Ask Questions related to this Webinar: https://adobe.ly/3O0rdzd 

Date &Time: Wednesday, June 15, 2022 - 8 am PDT OR 5 pm CET OR 8.30 pm IST
Speakers: Remus Stratulat & Shankari Panchapakesan

Share this within your Organisation and with your AEM peers!!

Kautuk Sahni