Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to set Secret Environment Variable in AEMaaCS

Avatar

Avatar
Ignite 1
Level 1
baw_gov
Level 1

Likes

0 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile

Avatar
Ignite 1
Level 1
baw_gov
Level 1

Likes

0 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
baw_gov
Level 1

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
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

560 likes

Total Posts

677 posts

Correct Reply

194 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

560 likes

Total Posts

677 posts

Correct Reply

194 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

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
Coach
Employee
Jörg_Hoh
Employee

Likes

1,115 likes

Total Posts

3,149 posts

Correct Reply

1,072 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,115 likes

Total Posts

3,149 posts

Correct Reply

1,072 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
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.