summaryrefslogtreecommitdiff
path: root/roles/whawty/auth/store/defaults/main.yml
blob: 5b1ba5a6dcff0581ba9d903f2e07dd26a325df3a (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
28
---
# whawty_auth_store_instances:
#   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
#       prometheus: yes