Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
- a pepper key used to encrypt local user passwords
- where external authorisation is required, usernames and passwords for:
borderColor | #7da054 |
---|---|
titleColor | white |
titleBGColor | #7da054 |
borderStyle | solid |
title | Sections on this page |
secretpass
"%JAVA_HOME%\bin\"secretsecretpass"%JAVA_HOME%\bin\"secretsecretpass$JAVA_HOME/bin/secretsecretpass$JAVA_HOME/bin/secretsecretpassTip |
---|
The keytool does not differentiate between the secrets it stores so it always prompts for a "password". Sometimes you will need to enter a username and others a password. |
Understanding How PhixFlow Uses A Keystore
This sectionPepperkye
If you have local users you also need to set up a Pepperkey
Wikipedia article on Pepper Encrytption
Datasource instances or email
todo
Keytool Syntax
For reference, here is the keytool command syntax.
Code Block |
---|
<keytool> -importpass -alias <key> -keystore <file> -storetype <type> |
<keytool>
"%JAVA_HOME%\bin\keytool.exe"
&"$env:JAVA_HOME\bin\keytool.exe"
$JAVA_HOME/bin/keytool
<key>
The alias/key for a username or password.
After you enter an alias, the keytool prompts you to enter the corresponding data, usually a username or password.
The full path to the keystore file, for example:
- Windows
C:\secure\name.jks
- Linux
/opt/secure/name.jks
How PhixFlow authenticates to its database using a keystore
Details used in the diagram | ||
---|---|---|
Keystore file name | hidden.jks | |
Keystore password | storepw | |
Environment variable name | KEY_PASS | |
Environment variable value (the keystore password) | storepw | |
PhixFlow database credentials | Username | Password |
Actual |
| P*59word |
Alias | phixflow-database-user | phixflow-database-password |
Note |
---|
The default keystore filename set in |