Solved
Can we get environment variable from pom.xml into OSGi config?
Hi,
I am working on setting up an OSGi config using environment variables so they can be accessed on deployed environment on Cloud AEM, without the config values exposed in Github.
I came across this documentation at `https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-cloud-manager/environment-variables.html?lang=en`.
It says that we can set the environment variable under the "Environment Configuration" of Adobe Cloud Manager, and such an environment variable will be available in the pom.xml file per below:
<password>${env.CUSTOM_MYCO_REPOSITORY_PASSWORD}</password>
However, I need to use it in the OSGi config, not in the pom.xml file. Is it possible to grab the environment variable from the pom.xml file into the OSGi config?
I looked in the docs below, but was not able to find the answer:
Thank you,