Skip to content

Commit

Permalink
updated the sample config
Browse files Browse the repository at this point in the history
  • Loading branch information
johnabass committed Nov 22, 2020
1 parent bc9864b commit c9ae56a
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions themis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,34 +56,39 @@ token:
notBeforeDelta: -15s
duration: 24h
claims:
mac:
- key: mac
header: X-Midt-Mac-Address
parameter: mac
serial:
- key: serial
header: X-Midt-Serial-Number
parameter: serial
uuid:
- key: uuid
header: X-Midt-Uuid
parameter: uuid
iss:
- key: iss
value: "development"
trust:
- key: trust
value: 1000
sub:
- key: sub
value: "client-supplied"
aud:
- key: aud
value: "XMiDT"
capabilities:
- key: capabilities
value:
- x1:issuer:test:.*:all
- key: nestedClaims
json: '{
"casePreservedScalar": "true",
"casePreservedArray": ["casePreserved1", "casePreserved2"]
}'
metadata:
mac:
- key: mac
header: X-Midt-Mac-Address
parameter: mac
serial:
- key: serial
header: X-Midt-Serial-Number
parameter: serial
uuid:
- key: uuid
header: X-Midt-Uuid
parameter: uuid
partnerID:
Expand Down

0 comments on commit c9ae56a

Please sign in to comment.