@@ -61,8 +61,8 @@ Options:
6161 --secrets-file=FILEPATH
6262 Path of JSON file containing confidential propertiers
6363 [optional]
64- --secrets-passphrase=PASSPHRASE
65- Passphrase to decrypt confidential properties [optional]
64+ --secrets-key=FILEPATH
65+ Path to key file to decrypt confidential properties [optional]
6666....
6767
6868If environmentalized fields or certificates are not configured, the build fails.
@@ -160,10 +160,15 @@ If specified relative path to certificate files is based on this directory.
160160|Path of JSON file containing confidential properties.
161161The file has to be created by the `encrypt` tool.
162162
163- |--secrets-passphrase
164- |Passphrase to decryt confidential properties.
165- This parameter is requried if a secrets file is specified.
166- The passphrase has to be the same as on creating the secrets file.
163+ |--secrets-key
164+ |Path to key file to decrypt confidential properties.
165+
166+ This a file containing any arbitrary bytes.
167+ If you edit this file with a text editor be aware of the encoding and the end of line sequence.
168+
169+ The key file has to be the same as on creating the secrets file.
170+
171+ This parameter is required if a secrets file is specified.
167172|===
168173
169174
@@ -172,7 +177,7 @@ The passphrase has to be the same as on creating the secrets file.
172177The `encrypt` tools is used to generate an initial secrets file and to encrypt the values of the properties.
173178The script is invoked with the `jython` interpreter provided with the package and deployment tools of the API Gateway.
174179
175- The tool requries a path to the secrets file and a passphrase to encryt the values.
180+ The tool requires a path to the secrets file and a passphrase to encrypt the values.
176181If the secrets file doesn't exist a new file will be created.
177182For existing files the given passphrase is checked against the passphrase used on file creation.
178183
@@ -186,8 +191,8 @@ Options:
186191 -v, --verbose Enable verbose messages [optional]
187192 --secrets-file=FILEPATH
188193 Path of JSON file containing confidential properties
189- --secrets-passphrase=PASSPHRASE
190- Passphrase to decrypt confidential values
194+ --secrets-key=FILEPATH
195+ Path to key file to decrypt confidential properties
191196
192197Encrypt credentials.
193198....
@@ -200,9 +205,15 @@ Encrypt credentials.
200205|--secrets-file
201206|Path of JSON file containing confidential properties.
202207
203- |--secrets-passphrase
204- |Passphrase to decrypt confidential properties.
205- This parameter is requried if a secrets file is specified.
208+ |--secrets-key
209+ |Path to key file to decrypt confidential properties.
210+
211+ This a file containing any arbitrary bytes.
212+
213+ If you edit this file with a text editor be aware of the encoding and the end of line sequence.
214+ In this case use ASCII characters in a single line (no line feed at the end).
215+
216+ This parameter is required if a secrets file is specified.
206217|===
207218
208219To add new properties tag the values with the `encrypt:` prefix.
@@ -218,11 +229,11 @@ Values having this prefix will be encrypted on running the tool.
218229 }
219230}
220231----
221- <1> Marker to check the passphrase . Don't delete or change it.
232+ <1> Marker to check the key . Don't delete or change it.
222233<2> The prefix `encrypt:` indicates that the value `changeme` has to be encrypted.
223234<3> Values without the prefix are already encrypted and will not be changed.
224235
225- NOTE: The `encrypt` tool use the cipher of the entity store.
236+ NOTE: The `encrypt` tool use the same cipher as the entity store.
226237
227238== Configuration Files
228239
@@ -507,8 +518,8 @@ For the build process the property file may be temporarily generated from the co
507518=== Secrets
508519
509520A secrets file is used to store confidential configurations (e.g. passwords).
510- The values of the properties are encrypted and can be access with a passphrase only.
511- All values are encrypted with the same passphrase .
521+ The values of the properties are encrypted and can be access with a key only.
522+ All values are encrypted with the same key .
512523
513524.gateway.crypt.json
514525[source,json]
@@ -522,6 +533,6 @@ All values are encrypted with the same passphrase.
522533}
523534----
524535<1> The `secrets` property is requried.
525- <2> Marker to check the passphrase . Don't delete or change it.
536+ <2> Marker to check the key . Don't delete or change it.
526537<3> The prefix `encrypt:` indicates that the value `changeme` has to be encrypted by the `encrypt` tool.
527538<4> Values without the prefix are already encrypted.
0 commit comments