-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathspec_mtlsauthentication.json
206 lines (206 loc) · 5.44 KB
/
spec_mtlsauthentication.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
{
"openapi": "3.1.0",
"x-stoplight": {
"id": "329p7bi2qzwzy"
},
"info": {
"title": "Saviynt mTLS Authentication API",
"version": "1.0",
"description": "mTLS Authentication",
"contact": {
"name": "Saviynt Developers Team",
"email": "https://github.com/saviynt"
}
},
"servers": [
{
"url": "http://localhost:3000"
}
],
"tags": [
{
"name": "mTLS Authentication"
}
],
"paths": {
"/ECM/api/v5/uploadKeyStore": {
"post": {
"summary": "Upload KeyStore",
"tags": [
"mTLS Authentication"
],
"operationId": "uploadKeyStore",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UploadKeyStoreResponse"
}
}
}
}
},
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/UploadKeyStoreRequest"
}
}
}
},
"description": "Introduced in Release v24.7, this API lets administrators upload Mutual Transport Layer Security (mTLS) certificates in the EIC keystore."
},
"parameters": []
},
"/ECM/api/v5/getKeyStoreCertificateDetails": {
"get": {
"summary": "Get KeyStore Details",
"tags": [
"mTLS Authentication"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetKeyStoreCertificateDetailsResponse"
}
}
}
}
},
"operationId": "getKeyStoreCertificateDetails",
"description": "Introduced in Release v24.7, this API enables administrators to view the details of mTLS certificates that are uploaded in the EIC keystore.\n\nA thumbprint is an unique identification of the certificate. The thumbprints attribute of this API provides a unique identification of the certificate. It displays expiry and thumbprint details in the following order:\n\n* Leaf certificate\n* Intermediate certificate\n* Root certificate"
},
"parameters": []
},
"/ECM/api/v5/deleteKeyStoreAlias/{alias}": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "alias",
"in": "path",
"required": true
}
],
"delete": {
"summary": "Delete KeyStore",
"tags": [
"mTLS Authentication"
],
"operationId": "deleteKeyStore",
"responses": {
"200": {
"description": "OK"
}
},
"description": "Introduced in Release v24.7, this API lets administrators delete an mTLS certificate that is uploaded in the EIC keystore.\n\nNote: Ensure that you have specified the name of the alias in the request URL."
}
}
},
"components": {
"schemas": {
"CertificateThumbprint": {
"title": "CertificateThumbprint",
"type": "object",
"properties": {
"expiry": {
"type": "string"
},
"thumbprint": {
"type": "string",
"x-stoplight": {
"id": "k5fx1vt33fqfg"
}
}
}
},
"CertificateDetail": {
"title": "CertificateDetail",
"x-stoplight": {
"id": "zjhn6dmnyyxla"
},
"type": "object",
"properties": {
"alias": {
"type": "string"
},
"certificateExpiry": {
"type": "string"
},
"certificateIssuerName": {
"type": "string"
},
"certificateStatus": {
"type": "string"
},
"certificateSubjectName": {
"type": "string"
},
"thumbprints": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CertificateThumbprint"
}
}
}
},
"UploadKeyStoreRequest": {
"title": "UploadKeyStoreRequest",
"type": "object",
"properties": {
"keyStoreFile": {
"type": "string",
"format": "binary"
},
"keyStorePassword": {
"type": "string"
}
},
"description": ""
},
"UploadKeyStoreResponse": {
"title": "UploadKeyStoreResponse",
"x-stoplight": {
"id": "uoufvdzkvbo36"
},
"type": "object",
"properties": {
"errorCode": {
"type": "integer"
},
"message": {
"type": "string"
}
}
},
"GetKeyStoreCertificateDetailsResponse": {
"title": "GetKeyStoreCertificateDetailsResponse",
"x-stoplight": {
"id": "dbw0szixh4s5f"
},
"type": "object",
"properties": {
"errorCode": {
"type": "integer"
},
"message": {
"type": "string"
},
"certificateDetails": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CertificateDetail"
}
}
}
}
}
}
}