So I encrypted a text using this page: http://localhost:4502/system/console/crypto
I then copy/paste the protected text to an OSGI Service config XML
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OsgiConfig"
my.protected.text1="{sdsd834dfsdsfsdfsdfsdsfsdfsfsdfsdfdsfsdfs}"
/>
Note: The protected value I used in this XML above is fake. This is only an example.
When I import my code package into AEM, my.protected.text1 is empty/blank. If I change the value in the XML to something like "qwerty". The value gets imported.
Any ideas what I'm doing wrong?
Thanks