How to set Secret Environment Variable in AEMaaCS | Community
Skip to main content
New Participant
April 2, 2021
Solved

How to set Secret Environment Variable in AEMaaCS

  • April 2, 2021
  • 2 replies
  • 2180 views

How do I configure secret environment variable for OSGI config in AEM as a Cloud Service?

For example, I have a secret value that I do not want to expose on code repo how to make it possible?

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 Asutosh_Jena_

Hi @gbaweja 

 

By default AEM comes with Encryption Support for Configuration Properties. This feature is supported in all versions of AEM.

This feature allows all OSGi configuration properties to be stored in a protected encrypted form instead of clear text. The form intheWeb Console UI is used to create encrypted text from clear text using the system wide encryption master key.

 

 

Please refer the below article to know how to enable encryption support.

https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/encryption-support-for-configuration-properties.html?lang=en#overview

 

Hope this helps!
Thanks!

2 replies

joerghoh
Employee
April 4, 2021
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
April 3, 2021

Hi @gbaweja 

 

By default AEM comes with Encryption Support for Configuration Properties. This feature is supported in all versions of AEM.

This feature allows all OSGi configuration properties to be stored in a protected encrypted form instead of clear text. The form intheWeb Console UI is used to create encrypted text from clear text using the system wide encryption master key.

 

 

Please refer the below article to know how to enable encryption support.

https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/encryption-support-for-configuration-properties.html?lang=en#overview

 

Hope this helps!
Thanks!