arshilkxwork commented on code in PR #526:
URL: https://github.com/apache/hugegraph-doc/pull/526#discussion_r4262812374


##########
content/en/docs/config/config-option.md:
##########
@@ -69,6 +69,7 @@ Corresponding configuration file `rest-server.properties`
 | auth.authenticator                     |                                     
             | The class path of authenticator implementation. e.g., 
org.apache.hugegraph.auth.StandardAuthenticator, or a custom implementation.    
                                                    |
 | auth.graph_store                       | hugegraph                           
             | The name of graph used to store authentication information, like 
users, only for org.apache.hugegraph.auth.StandardAuthenticator.                
                                                              |
 | auth.admin_pa | pa | Used when the Server startup path initializes admin. 
Explicitly set a strong password before production deployment; the public 
default is `pa`. On local persistent backends, `init-store.sh` prompts for the 
initial password. |
+| auth.admin_pa_file | | Path of a file holding the initial password for the 
built-in admin account. The file is read as raw UTF-8 with one trailing line 
break removed, so spaces, backslashes and non-ASCII characters need no 
properties escaping. When set, it takes precedence over `auth.admin_pa` and the 
`init-store.sh` password prompt. A missing, empty or non-UTF-8 file stops 
startup. Takes effect on first startup. |

Review Comment:
   Fixed in 5d97063. Since your review, apache/hugegraph#3334 also gained 
7ba00bd, which requires a regular file (symlinks followed) and caps the 
password at 72 UTF-8 bytes. The rows and both properties comments now cover the 
BOM, the 4096-byte file limit, the regular-file check and the 72-byte limit.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to