How to decrypt passwords generated using "jasypt:encrypt" command in Fuse 6.1.0

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content