Add password to User schema
Make sure password is encrypted Update tests Signed-off-by: Andrea Waltlova <awaltlov@redhat.com>
This commit is contained in:
parent
5d0e3ee85b
commit
7c830e90b0
4 changed files with 223 additions and 184 deletions
|
|
@ -1764,6 +1764,13 @@ components:
|
|||
key:
|
||||
type: string
|
||||
example: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINrGKErMYi+MMUwuHaRAJmRLoIzRf2qD2dD5z0BTx/6x"
|
||||
password:
|
||||
type: string
|
||||
format: password
|
||||
description: |
|
||||
If the password starts with $6$, $5$, or $2b$ it will be stored as
|
||||
an encrypted password. Otherwise it will be treated as a plain text
|
||||
password.
|
||||
BlueprintUser:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue