Expandir minha barra de realizações na Comunidade.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLUCIONADO

Keys are getting unprotected without using crypto.unprotect() from backend

Avatar

Level 2

Hi,

    I am giving encrypted keys in OSGI configuration, but keys are getting unprotected(decrypted) without using crypto. Unprotect () in backend. Can anyone please help me why this issue is happening. 

      

1 Solução aceita

Avatar

Resposta correta de
Community Advisor

Hello @HariniVR 

 

Please refer to this blogs: https://www.nextrow.com/blog/adobe-experience-manager/crypto-support-in-aem-to-encrypt-decrypt-data

 

The encrypted value generated for the same plain-text string will differ from one AEM instance to another instance because keys are unique to each instance. Thus, its the AEM only who can encrypt and decrypt.

 


Aanchal Sikka

Ver solução na publicação original

3 Respostas

Avatar

Resposta correta de
Community Advisor

Hello @HariniVR 

 

Please refer to this blogs: https://www.nextrow.com/blog/adobe-experience-manager/crypto-support-in-aem-to-encrypt-decrypt-data

 

The encrypted value generated for the same plain-text string will differ from one AEM instance to another instance because keys are unique to each instance. Thus, its the AEM only who can encrypt and decrypt.

 


Aanchal Sikka

Avatar

Level 2

Thanks for the reply, now got it.

Avatar

Community Advisor

Hi @HariniVR 
AEM provides a Configuration Plugin to decrypt configuration properties. This AEM Plugin will automatically decrypt and retrieve the clear text from osgi properties.

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

 

Arun Patidar

AEM LinksLinkedIn