Skip to main content

EncryptionKey

Passwords can be encrypted using the EncryptionUtil Java class, or the command-line "encrypt.bat" or "encrypt.sh" scripts if those are available to you. In order for the passwor...

Notes

Passwords can be encrypted using the EncryptionUtil Java class, or the command-line "encrypt.bat" or "encrypt.sh" scripts if those are available to you.

In order for the password to be decrypted properly, you need to specify the encryption key used to encrypt it. The key can obtained from a few supported locations. The combination of the password key "value" and "source" is used to properly locate the key.

Examples

The following looks for the encryption key in an environment variable named MY_KEY_VAR.

passwordKey:
source: ENVIRONMENT
value: MY_KEY_VAR

Usage

Full configuration skeleton, with every option and its default
size: 0
source: KEY
value: string

Properties

PropertyTypeRequiredDefault
sizeintegerNo-
sourceenumNo-
valuestringNo-

Property Details

size

Size of the encryption key, in bits. If specified, it must be supported by your version of Java

source

What the encryption key value refers to.

Allowed Values

  • KEY
  • FILE
  • ENVIRONMENT
  • PROPERTY

value

Pointer to the an encryption key, or the encryption key itself.