Skip to content

Commit

Permalink
Adapt profile schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Nov 13, 2024
1 parent 88ef1c3 commit be67a62
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions rust/agama-lib/share/profile.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,13 @@
"examples": ["jane.doe"]
},
"password": {
"title": "User password",
"title": "User password (plain text or encrypted depending on the \"passwordEncrypted\" field)",
"type": "string",
"examples": ["nots3cr3t"]
},
"passwordEncrypted": {
"title": "Flag for encrypted password (true) or plain text password (false or not defined)",
"type": "boolean"
}
},
"required": ["fullName", "userName", "password"]
Expand All @@ -404,9 +408,13 @@
"additionalProperties": false,
"properties": {
"password": {
"title": "Root password",
"title": "Root password (plain text or encrypted depending on the \"passwordEncrypted\" field)",
"type": "string"
},
"passwordEncrypted": {
"title": "Flag for encrypted password (true) or plain text password (false or not defined)",
"type": "boolean"
},
"sshPublicKey": {
"title": "SSH public key",
"type": "string"
Expand Down

0 comments on commit be67a62

Please sign in to comment.