auth, etcdserver: hash password in the API layer

This commit is contained in:
Hitoshi Mitake
2020-05-25 01:49:45 +09:00
parent d8c8f903ee
commit 5a3da48cdf
9 changed files with 530 additions and 350 deletions

View File

@@ -265,6 +265,7 @@ Empty field.
| name | | string |
| password | | string |
| options | | authpb.UserAddOptions |
| hashedPassword | | string |
@@ -281,7 +282,8 @@ Empty field.
| Field | Description | Type |
| ----- | ----------- | ---- |
| name | name is the name of the user whose password is being changed. | string |
| password | password is the new password for the user. | string |
| password | password is the new password for the user. Note that this field will be removed in the API layer. | string |
| hashedPassword | hashedPassword is the new password for the user. Note that this field will be initialized in the API layer. | string |