40 lines
1.4 KiB
JSON
40 lines
1.4 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"users": {
|
|
"title": "Listes des comptes autorisés",
|
|
"default": [],
|
|
"type": "array",
|
|
"items": {
|
|
"title": "Compte autorisé à la connexion",
|
|
"type": "object",
|
|
"properties": {
|
|
"username": {
|
|
"title": "Nom d'utilisateur",
|
|
"type": "string"
|
|
},
|
|
"passwordHash": {
|
|
"title": "Empreinte bcrypt du mot de passe de l'utilisateur",
|
|
"description": "Utiliser la commande 'htpasswd -BnC 10 \"\" | tr -d \":\n\"' pour générer l'empreinte",
|
|
"type": "string"
|
|
},
|
|
"attributes": {
|
|
"title": "Attributs associés à l'utilisateur",
|
|
"type": "object",
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"username",
|
|
"passwordHash"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
} |