How to decrypt passwords generated using "jasypt:encrypt" command in Fuse 6.1.0
Issue
- How to decrypt passwords generated using
"jasypt:encrypt"command in Fuse 6.1.0. - How to use
"jasypt:encrypt"from command line to create encrypted values. - With out-of-the-box Fuse 6.1 GA, when i use the command-line:
jasypt:encrypt mypassword
- We get back an encrypted form of the password
"mypassword". - What encryption key does Fuse use to create the encrypted password? We are wondering because we need to know the decryption key when i go to decrypt.
- I recognize when include encrypted properties in blueprint files as described here: http://blog.nanthrax.net/2014/10/03/. Users need to give the
'passwordEnvName'attribute a value based on a environment property. In this example can we create the value of the'mydb.password'using the'jasypt:encrypt'command. How do i specify the key to use when this command generates the encrypted value?
Environment
- Red Hat JBoss Fuse
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
