- 18 Mar 2024
-
DarkLight
-
PDF
Password Encryption
- Updated on 18 Mar 2024
-
DarkLight
-
PDF
Legacy Encryption
For legacy-based $ENC
encryption, use the following steps to run the encryption script and generate a password value.
-
Navigate to the
pronghorn-core
node modules directory.cd /opt/pronghorn/current/node_modules/@itential/pronghorn-core
-
Run the following command where
mypassword
is the password value that requires encryption.$ npm run encrypt mypassword Encrypted Password: $ENC8ef3972b5766e64a98df4b11d6d3221d82812e8caed3459e5a0d
-
Use the encrypted password value, beginning with
$ENC
, instead of the plain-text values that are inserted in theproperties.json
file.
$SECRET Encryption
The $ENC
encryption used within service configs, profiles, and the properties.json is now deprecated. The replacement is $SECRET_
followed by the path and the key used in Hashicorp Vault for encryption and decryption. Support for $ENC
will be removed in a future release, and any remaining $ENC
values will no longer function after its removal.
For more detail, see Manual Property Encryption for Profiles.