forked from xmidt-org/themis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
themis.yaml
107 lines (99 loc) · 1.94 KB
/
themis.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
servers:
key:
address: :6500
disableHTTPKeepAlives: true
header:
X-Midt-Server:
- issuer
X-Midt-Version:
- development
issuer:
address: :6501
disableHTTPKeepAlives: true
header:
X-Midt-Server:
- issuer
X-Midt-Version:
- development
claims:
address: :6502
disableHTTPKeepAlives: true
header:
X-Midt-Server:
- issuer
X-Midt-Version:
- development
metrics:
address: :6503
disableHTTPKeepAlives: true
health:
address: :6504
disableHTTPKeepAlives: true
header:
X-Midt-Server:
- issuer
X-Midt-Version:
- development
health:
disableLogging: false
custom:
server: development
prometheus:
defaultNamespace: xmidt
defaultSubsystem: issuer
constLabels:
development: "true"
token:
alg: RS256
nonce: true
notBeforeDelta: -15s
duration: 24h
claims:
- key: mac
header: X-Midt-Mac-Address
parameter: mac
- key: serial
header: X-Midt-Serial-Number
parameter: serial
- key: uuid
header: X-Midt-Uuid
parameter: uuid
- key: iss
value: "development"
- key: trust
value: 1000
- key: sub
value: "client-supplied"
- key: aud
value: "XMiDT"
- key: capabilities
value:
- x1:issuer:test:.*:all
- key: nestedClaims
json: '{
"casePreservedScalar": "true",
"casePreservedArray": ["casePreserved1", "casePreserved2"]
}'
metadata:
- key: mac
header: X-Midt-Mac-Address
parameter: mac
- key: serial
header: X-Midt-Serial-Number
parameter: serial
- key: uuid
header: X-Midt-Uuid
parameter: uuid
partnerID:
claim: partner-id
metadata: pid
header: X-Midt-Partner-ID
parameter: pid
default: comcast
key:
kid: development
type: rsa
bits: 1024
log:
file: stdout
level: DEBUG