cla passwd - Password encryption

cla passwd is a conversion tool for password encryption. It's useful in case we want to introduce a password into the database directly.

Common Flags

  • -u : User name for which the password is to be encrypted is a required parameter and may be defined as an input parameter.
  • -p : Password to be encrypted. This parameter is optional. If not introduced, it can be typed into the console with a prompt.
  • -c : The config file is necessary when a secret key is not introduced.
  • --secret : If no config is supplied or if the config supplied doesn't have a secret: key entry, the secret encription key can be entered via the command line.

Optionally, a standard input pipe can be used to supply a password:

echo "secr3t" | cla passwd -u myuser -c myconfig