Is it still required to decrypt the osgi configuration properties?
AEM version 6.5 (SP 15)
We have some config values of type AttributeType.PASSWORD, values are encrypted before putting into config file.
Do we still have to decrypt them before using them in our Service? As per this documentation AEM will do it automatically, I wanted to confirm (without checking myself) - https://github.com/AdobeDocs/experience-manager-65.en/blob/main/help/sites-administering/encryption-support-for-configuration-properties.md#decryption-support-decryption-support
It says
AEM now provides a Configuration Plugin to decrypt configuration properties. This AEM Plugin will automatically decrypt and retrieve the clear text properties.This is the way to decrypt them (if we have to) -
@3214626
CryptoSupport cryptosupport;
Public getDecryptedKey(int encryptedKey)
{
if(this.cryptoSupport.isProtected(key){
this.cryptoSupport.unprotect(key)
}}
