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.