OpenLiberty / open-liberty-operator

Eclipse Public License 2.0
28 stars 36 forks source link

Support to specify custom key for encryption and decryption #569

Open leochr opened 3 months ago

leochr commented 3 months ago

Liberty uses a default key for encryption and decryption, but it can be overridden by wlp.password.encryption.key. Allow users to specify this and use it in operations such as LTPA key generation.

Allow users to optionally specify this key via a secret (i.e. wlo-wlp-password-encryption-key) When specified, this key should be specified as part LTPA key generation commands:

The key should also be specified in the server config so that LTPA key can be decrypted:

<variable name="wlp.password.encryption.key" value="yourKey" />

Validate that the server dump (Day 2 operation) doesn't leak this key: https://openliberty.io/docs/latest/password-encryption.html#_encryption_key_protection

leochr commented 1 month ago

Meeting summary (June 6, 2024):