How to set Secret Environment Variable in AEMaaCS

Avatar

Avatar

baw_gov

Avatar

baw_gov

baw_gov

02-04-2021

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

asutosh_j3

Avatar

asutosh_j3

asutosh_j3

02-04-2021

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!

Answers (1)

Answers (1)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.0K

Correct Reply

1.1K

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.0K

Correct Reply

1.1K
Jörg_Hoh
Employee

04-04-2021

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