summaryrefslogtreecommitdiff
path: root/roles/whawty/auth/store/defaults/main.yml
blob: b8cb08b78bbbdd1cec217dcdcccf5817b039cd4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
# whawty_auth_store:
#   name: foo
#   config:
#     basedir: "/var/lib/whawty/auth/foo"
#     default: 2
#     params:
#     - id: 1
#       scryptauth:
#         hmackey: "<32bytes random secret data base64-encoded>"
#         cost: 12
#     - id: 2
#       argon2id:
#         time: 1
#         memory: 65536 ## 64 MB
#         threads: 4
#         length: 32
#   permissions:
#     owner: root
#     group: foo
#     file-mode: "0640"
#     dir-mode: "0750"
#   sync:
#     type: client
#     hostname: passwd.example.com
#     port: 3022
#     user: sync