Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
SOLVED

How to set Secret Environment Variable in AEMaaCS

Avatar

Level 2

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @baw_gov 

 

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.

 

asutosh_j3_0-1617424392193.png

 

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

https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/encryption-supp...

 

Hope this helps!
Thanks!

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @baw_gov 

 

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.

 

asutosh_j3_0-1617424392193.png

 

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

https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/encryption-supp...

 

Hope this helps!
Thanks!

Avatar

Employee Advisor

Check the documentation on https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/deploying/conf... it describes when and how to use secrets.