Chapter 12. Jasypt encryption

You can use a command to use Jasypt to encrypt passwords in the console.

12.1. jasypt:encrypt

Abstract

Encrypts a password

Synopsis

jasypt:encrypt [ password ] [ --help ]

Details

Use this command to encrypt a plain text password
JBossA-MQ:karaf@root> jasypt:encrypt passwordsample
JBossA-MQ:karaf@root>(ENC)J0qF8Sk5P4KJRdyLs8LzQYRHfyXs7yWT/CyIDPqHqK2wwc6FbgwsTPK+WCsBgMK9

Arguments

The command's arguments are as follows:

Table 12.1. jasypt:encrypt Arguments

ArgumentInterpretation
password Enter the password to be encrypted in plain text
--help Displays the online help for this command