forked from EWS-Network/certbot-aws-store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
acme_config.json
98 lines (98 loc) · 2.42 KB
/
acme_config.json
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"id": "acme-config.spec.json",
"$id": "acme-config.spec.json",
"title": "acme-config",
"description": "acme secret configuration format",
"type": "object",
"required": [
"accounts"
],
"properties": {
"accounts": {
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "#/definitions/account"
}
}
},
"definitions": {
"account": {
"type": "object",
"additionalProperties": false,
"required": [
"private_key",
"regr",
"endpoint",
"dirname",
"account_id"
],
"properties": {
"account_id": {
"type": "string",
"pattern": "^\\d+$"
},
"endpoint": {
"type": "string",
"description": "ACME API endpoint the account is registered with"
},
"created_on": {
"type": "string",
"description": "created_dt from meta.json"
},
"dirname": {
"type": "string",
"pattern": "^[a-zA-Z\\d]+$",
"description": "The hash of the directory to store the files into"
},
"privateKey": {
"oneOf": [
{
"type": "object",
"description": "The JSON object content of the private_key.json"
},
{
"type": "string",
"description": "The JSON string content of the private_key.json"
}
]
},
"meta": {
"oneOf": [
{
"type": "object",
"description": "JSON object of the content of meta.json",
"properties": {
"uri": {
"type": "string"
}
}
},
{
"type": "string",
"description": "JSON encoded string of the meta.json content"
}
]
},
"registration": {
"oneOf": [
{
"type": "object",
"description": "JSON object of the content of regr.json",
"properties": {
"uri": {
"type": "string"
}
}
},
{
"type": "string",
"description": "JSON encoded string of the regr.json content"
}
]
}
}
}
}
}