How to set Secret Environment Variable in AEMaaCS | Community
Skip to main content
Level 2
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

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
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!

joerghoh
Adobe Employee
Adobe Employee
April 4, 2021