About Spring Boot CLI 3.1.4 when is executed the ./spring --help encodepassword command appears:
./spring --help encodepassword
spring encodepassword - Encode a password for use with Spring Security
usage: spring encodepassword [options] <password to encode>
Option Description
------ -----------
-a, --algorithm <String> The algorithm to use (default: default)
examples:
To encode a password with the default encoder:
$ spring encodepassword mypassword
To encode a password with pbkdf2:
$ spring encodepassword -a pbkdf2 mypassword
Two things to consider:
- About default: default is really
BCrypt (I think it should be updated)
- Should be listed all the possible valid values for
-a/--algorithm
The improvements of both should be applied for the command's output and Reference documentation.
Thanks for your understanding