-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy pathhasher.yaml.example
More file actions
39 lines (31 loc) · 935 Bytes
/
hasher.yaml.example
File metadata and controls
39 lines (31 loc) · 935 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
module: satosa.micro_services.hasher.Hasher
name: Hasher
config:
# default settings that apply to every requester
"":
# default salt configuration is required
salt: abcdef0123456789
# the hash algorithm to use (default: sha512)
alg: sha256
# whether subject_id should be hashed (default: yes)
subject_id: yes
# a list of attributes to hash (default: [])
attributes:
- edupersontargetedid
# specific settings for requester 'some_entityid'
some_entityid:
# for this requester use sha1
alg: sha1
# do not hash any attributes
# if this is missing the defaults will be used
attributes: []
# specific settings for requester 'some_other_entityid'
some_other_entityid:
# for this requester only use this salt
salt: abcd1234
# do not hash subject_id
subject_id: no
# only hash the following attributes
attributes:
- gender
- identifier