Show Table of Contents
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
| Argument | Interpretation |
|---|---|
password | Enter the password to be encrypted in plain text |
--help | Displays the online help for this command |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.