@itentialopensource/adapter-digicert_pki 1.0.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/.eslintignore +0 -1
  2. package/.jshintrc +3 -0
  3. package/CALLS.md +162 -453
  4. package/CHANGELOG.md +16 -0
  5. package/CONTRIBUTING.md +1 -160
  6. package/ENHANCE.md +2 -2
  7. package/README.md +31 -22
  8. package/adapter.js +159 -330
  9. package/adapterBase.js +538 -873
  10. package/changelogs/changelog.md +16 -0
  11. package/metadata.json +49 -0
  12. package/package.json +22 -25
  13. package/pronghorn.json +474 -142
  14. package/propertiesSchema.json +455 -42
  15. package/refs?service=git-upload-pack +0 -0
  16. package/report/adapter-openapi.json +3224 -0
  17. package/report/adapter-openapi.yaml +2185 -0
  18. package/report/adapterInfo.json +8 -8
  19. package/report/updateReport1691508686598.json +120 -0
  20. package/report/updateReport1692203137726.json +120 -0
  21. package/report/updateReport1694467869659.json +120 -0
  22. package/report/updateReport1698422457936.json +120 -0
  23. package/sampleProperties.json +64 -3
  24. package/test/integration/adapterTestBasicGet.js +1 -1
  25. package/test/integration/adapterTestConnectivity.js +91 -42
  26. package/test/integration/adapterTestIntegration.js +275 -147
  27. package/test/unit/adapterBaseTestUnit.js +388 -313
  28. package/test/unit/adapterTestUnit.js +519 -322
  29. package/utils/adapterInfo.js +1 -1
  30. package/utils/addAuth.js +1 -1
  31. package/utils/artifactize.js +1 -1
  32. package/utils/checkMigrate.js +1 -1
  33. package/utils/entitiesToDB.js +1 -0
  34. package/utils/findPath.js +1 -1
  35. package/utils/methodDocumentor.js +71 -23
  36. package/utils/modify.js +13 -15
  37. package/utils/packModificationScript.js +1 -1
  38. package/utils/taskMover.js +309 -0
  39. package/utils/tbScript.js +3 -10
  40. package/utils/tbUtils.js +2 -3
  41. package/utils/testRunner.js +1 -1
  42. package/utils/troubleshootingAdapter.js +1 -3
  43. package/workflows/README.md +0 -3
@@ -0,0 +1,2185 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: DigiCert PKI Platform Rest APIs
4
+ description: This document specifies the APIs that user can implement to consume DigiCert PKI platform web services. It details a set of RESTful APIs to allow issuance, management of certificates and users.
5
+ contact: {}
6
+ version: '1.0.44'
7
+ servers:
8
+ - url: http://pki-ws-rest.symauth.com/mpki
9
+ variables: {}
10
+ paths:
11
+ /api/v1/audit-log:
12
+ get:
13
+ tags:
14
+ - Audit API
15
+ summary: getAuditsUsingGET
16
+ description: This API is used to get audit details for given query param
17
+ operationId: getAuditsUsingGET
18
+ parameters:
19
+ - name: X-API-Key
20
+ in: header
21
+ description: ''
22
+ style: simple
23
+ schema:
24
+ type: string
25
+ - name: action
26
+ in: query
27
+ description: >-
28
+ Available values : USER_ENROLLED, USER_INFO_EDIT, USER_CREATED , USER_DELETED etc.
29
+
30
+ Please refer API Docs for available values.
31
+ style: form
32
+ explode: true
33
+ schema:
34
+ type: array
35
+ items:
36
+ type: string
37
+ - name: adminRA
38
+ in: query
39
+ description: Administrator userName or RA common name
40
+ style: form
41
+ explode: true
42
+ schema:
43
+ type: array
44
+ items:
45
+ type: string
46
+ - name: dateFrom
47
+ in: query
48
+ description: Datetime in ISO format
49
+ required: true
50
+ style: form
51
+ explode: true
52
+ schema:
53
+ type: string
54
+ - name: dateTo
55
+ in: query
56
+ description: Datetime in ISO format. Time span from dateFrom cannot exceed 365 days.
57
+ required: true
58
+ style: form
59
+ explode: true
60
+ schema:
61
+ type: string
62
+ - name: limit
63
+ in: query
64
+ description: Default Limit is 100
65
+ style: form
66
+ explode: true
67
+ schema:
68
+ type: integer
69
+ format: int32
70
+ example: 10
71
+ - name: offset
72
+ in: query
73
+ description: Default value is 0
74
+ style: form
75
+ explode: true
76
+ schema:
77
+ type: integer
78
+ format: int32
79
+ example: 0
80
+ responses:
81
+ '200':
82
+ description: OK
83
+ headers: {}
84
+ content:
85
+ application/json:
86
+ schema:
87
+ type: object
88
+ '401':
89
+ description: Unauthorized
90
+ headers: {}
91
+ content: {}
92
+ '403':
93
+ description: Forbidden
94
+ headers: {}
95
+ content: {}
96
+ '404':
97
+ description: Not Found
98
+ headers: {}
99
+ content: {}
100
+ deprecated: false
101
+ /api/v1/audit-log/{auditId}:
102
+ get:
103
+ tags:
104
+ - Audit API
105
+ summary: getAuditUsingGET
106
+ description: This API is used to get audit details for given audit Id.
107
+ operationId: getAuditUsingGET
108
+ parameters:
109
+ - name: X-API-Key
110
+ in: header
111
+ description: ''
112
+ style: simple
113
+ schema:
114
+ type: string
115
+ - name: auditId
116
+ in: path
117
+ description: auditId
118
+ required: true
119
+ style: simple
120
+ schema:
121
+ type: integer
122
+ format: int64
123
+ responses:
124
+ '200':
125
+ description: OK
126
+ headers: {}
127
+ content:
128
+ application/json:
129
+ schema:
130
+ type: object
131
+ '401':
132
+ description: Unauthorized
133
+ headers: {}
134
+ content: {}
135
+ '403':
136
+ description: Forbidden
137
+ headers: {}
138
+ content: {}
139
+ '404':
140
+ description: Not Found
141
+ headers: {}
142
+ content: {}
143
+ deprecated: false
144
+ /api/v1/ca/id/{caId}:
145
+ get:
146
+ tags:
147
+ - CA API
148
+ summary: getCAInfoUsingGET
149
+ description: This API is used to get public CA details for a given ca identifier
150
+ operationId: getCAInfoUsingGET
151
+ parameters:
152
+ - name: X-API-Key
153
+ in: header
154
+ description: ''
155
+ style: simple
156
+ schema:
157
+ type: string
158
+ - name: caId
159
+ in: path
160
+ description: caId
161
+ required: true
162
+ style: simple
163
+ schema:
164
+ type: string
165
+ responses:
166
+ '200':
167
+ description: OK
168
+ headers: {}
169
+ content:
170
+ application/json:
171
+ schema:
172
+ type: object
173
+ '401':
174
+ description: Unauthorized
175
+ headers: {}
176
+ content: {}
177
+ '403':
178
+ description: Forbidden
179
+ headers: {}
180
+ content: {}
181
+ '404':
182
+ description: Not Found
183
+ headers: {}
184
+ content: {}
185
+ deprecated: false
186
+ /api/v1/ca/{seatType}:
187
+ get:
188
+ tags:
189
+ - CA API
190
+ summary: getCAUsingGET
191
+ description: This API is used to get public CA details for a given account api key
192
+ operationId: getCAUsingGET
193
+ parameters:
194
+ - name: X-API-Key
195
+ in: header
196
+ description: ''
197
+ style: simple
198
+ schema:
199
+ type: string
200
+ - name: seatType
201
+ in: path
202
+ description: seatType
203
+ required: true
204
+ style: simple
205
+ schema:
206
+ type: string
207
+ responses:
208
+ '200':
209
+ description: OK
210
+ headers: {}
211
+ content:
212
+ application/json:
213
+ schema:
214
+ type: object
215
+ '401':
216
+ description: Unauthorized
217
+ headers: {}
218
+ content: {}
219
+ '403':
220
+ description: Forbidden
221
+ headers: {}
222
+ content: {}
223
+ '404':
224
+ description: Not Found
225
+ headers: {}
226
+ content: {}
227
+ deprecated: false
228
+ /api/v1/certificate:
229
+ post:
230
+ tags:
231
+ - Certificate Enrollment API
232
+ summary: enrollCertificateUsingPOST
233
+ description: This API is used to enroll a certificate for a given profile.
234
+ operationId: enrollCertificateUsingPOST
235
+ parameters:
236
+ - name: X-API-Key
237
+ in: header
238
+ description: ''
239
+ style: simple
240
+ schema:
241
+ type: string
242
+ requestBody:
243
+ description: enrollCertificateRequest
244
+ content:
245
+ application/json:
246
+ schema:
247
+ allOf:
248
+ - $ref: '#/components/schemas/RequestCertificateRequest'
249
+ - description: enrollCertificateRequest
250
+ required: true
251
+ responses:
252
+ '200':
253
+ description: OK
254
+ headers: {}
255
+ content:
256
+ application/json:
257
+ schema:
258
+ type: object
259
+ '201':
260
+ description: Created
261
+ headers: {}
262
+ content: {}
263
+ '401':
264
+ description: Unauthorized
265
+ headers: {}
266
+ content: {}
267
+ '403':
268
+ description: Forbidden
269
+ headers: {}
270
+ content: {}
271
+ '404':
272
+ description: Not Found
273
+ headers: {}
274
+ content: {}
275
+ deprecated: false
276
+ /api/v1/certificate/create:
277
+ post:
278
+ tags:
279
+ - Certificate Enrollment API
280
+ summary: createCertificateUsingPOST
281
+ description: This API is used to enroll a certificate for a given profile.
282
+ operationId: createCertificateUsingPOST
283
+ parameters:
284
+ - name: X-API-Key
285
+ in: header
286
+ description: ''
287
+ style: simple
288
+ schema:
289
+ type: string
290
+ requestBody:
291
+ description: enrollCertificateRequest
292
+ content:
293
+ application/json:
294
+ schema:
295
+ allOf:
296
+ - $ref: '#/components/schemas/CreateCertificateRequest'
297
+ - description: enrollCertificateRequest
298
+ required: true
299
+ responses:
300
+ '200':
301
+ description: OK
302
+ headers: {}
303
+ content:
304
+ application/json:
305
+ schema:
306
+ type: object
307
+ '201':
308
+ description: Created
309
+ headers: {}
310
+ content: {}
311
+ '401':
312
+ description: Unauthorized
313
+ headers: {}
314
+ content: {}
315
+ '403':
316
+ description: Forbidden
317
+ headers: {}
318
+ content: {}
319
+ '404':
320
+ description: Not Found
321
+ headers: {}
322
+ content: {}
323
+ deprecated: false
324
+ /api/v1/certificate/renew/{serialNumber}:
325
+ post:
326
+ tags:
327
+ - Certificate Enrollment API
328
+ summary: renewExternalCertificateUsingPOST
329
+ description: This API is used to enroll a certificate for a given profile.
330
+ operationId: renewExternalCertificateUsingPOST
331
+ parameters:
332
+ - name: X-API-Key
333
+ in: header
334
+ description: ''
335
+ style: simple
336
+ schema:
337
+ type: string
338
+ - name: serialNumber
339
+ in: path
340
+ description: serialNumber
341
+ required: true
342
+ style: simple
343
+ schema:
344
+ type: string
345
+ requestBody:
346
+ description: enrollCertificateRequest
347
+ content:
348
+ application/json:
349
+ schema:
350
+ allOf:
351
+ - $ref: '#/components/schemas/CreateCertificateRequest'
352
+ - description: enrollCertificateRequest
353
+ required: true
354
+ responses:
355
+ '200':
356
+ description: OK
357
+ headers: {}
358
+ content:
359
+ application/json:
360
+ schema:
361
+ type: object
362
+ '201':
363
+ description: Created
364
+ headers: {}
365
+ content: {}
366
+ '401':
367
+ description: Unauthorized
368
+ headers: {}
369
+ content: {}
370
+ '403':
371
+ description: Forbidden
372
+ headers: {}
373
+ content: {}
374
+ '404':
375
+ description: Not Found
376
+ headers: {}
377
+ content: {}
378
+ deprecated: false
379
+ /api/v1/certificate/{serialNumber}:
380
+ get:
381
+ tags:
382
+ - Certificate Enrollment API
383
+ summary: getCertificateUsingGET
384
+ description: This API is used to get certificate details for a given certificate serial number
385
+ operationId: getCertificateUsingGET
386
+ parameters:
387
+ - name: X-API-Key
388
+ in: header
389
+ description: ''
390
+ style: simple
391
+ schema:
392
+ type: string
393
+ - name: serialNumber
394
+ in: path
395
+ description: serialNumber
396
+ required: true
397
+ style: simple
398
+ schema:
399
+ type: string
400
+ responses:
401
+ '200':
402
+ description: OK
403
+ headers: {}
404
+ content:
405
+ application/json:
406
+ schema:
407
+ type: object
408
+ '401':
409
+ description: Unauthorized
410
+ headers: {}
411
+ content: {}
412
+ '403':
413
+ description: Forbidden
414
+ headers: {}
415
+ content: {}
416
+ '404':
417
+ description: Not Found
418
+ headers: {}
419
+ content: {}
420
+ deprecated: false
421
+ /api/v1/certificate/{serialNumber}/key:
422
+ get:
423
+ tags:
424
+ - Certificate Enrollment API
425
+ summary: recoverKeyUsingGET
426
+ description: This API is used to get private key information for key-escrowed certificate with given serial number
427
+ operationId: recoverKeyUsingGET
428
+ parameters:
429
+ - name: X-API-Key
430
+ in: header
431
+ description: ''
432
+ style: simple
433
+ schema:
434
+ type: string
435
+ - name: serialNumber
436
+ in: path
437
+ description: serialNumber
438
+ required: true
439
+ style: simple
440
+ schema:
441
+ type: string
442
+ responses:
443
+ '200':
444
+ description: OK
445
+ headers: {}
446
+ content:
447
+ application/json:
448
+ schema:
449
+ type: object
450
+ '401':
451
+ description: Unauthorized
452
+ headers: {}
453
+ content: {}
454
+ '403':
455
+ description: Forbidden
456
+ headers: {}
457
+ content: {}
458
+ '404':
459
+ description: Not Found
460
+ headers: {}
461
+ content: {}
462
+ deprecated: false
463
+ /api/v1/certificate/{serialNumber}/renew:
464
+ post:
465
+ tags:
466
+ - Certificate Enrollment API
467
+ summary: renewCertificateUsingPOST
468
+ description: This API is used to renew certificate with the given serial number.
469
+ operationId: renewCertificateUsingPOST
470
+ parameters:
471
+ - name: X-API-Key
472
+ in: header
473
+ description: ''
474
+ style: simple
475
+ schema:
476
+ type: string
477
+ - name: serialNumber
478
+ in: path
479
+ description: serialNumber
480
+ required: true
481
+ style: simple
482
+ schema:
483
+ type: string
484
+ requestBody:
485
+ description: enrollCertificateRequest
486
+ content:
487
+ application/json:
488
+ schema:
489
+ allOf:
490
+ - $ref: '#/components/schemas/RequestCertificateRequest'
491
+ - description: enrollCertificateRequest
492
+ required: true
493
+ responses:
494
+ '200':
495
+ description: OK
496
+ headers: {}
497
+ content:
498
+ application/json:
499
+ schema:
500
+ type: object
501
+ '201':
502
+ description: Created
503
+ headers: {}
504
+ content: {}
505
+ '401':
506
+ description: Unauthorized
507
+ headers: {}
508
+ content: {}
509
+ '403':
510
+ description: Forbidden
511
+ headers: {}
512
+ content: {}
513
+ '404':
514
+ description: Not Found
515
+ headers: {}
516
+ content: {}
517
+ deprecated: false
518
+ /api/v1/certificate/{serialNumber}/revoke:
519
+ put:
520
+ tags:
521
+ - Certificate Enrollment API
522
+ summary: revokeCertificateUsingPUT
523
+ description: This API can revoke certificate with the given serial number
524
+ operationId: revokeCertificateUsingPUT
525
+ parameters:
526
+ - name: X-API-Key
527
+ in: header
528
+ description: ''
529
+ style: simple
530
+ schema:
531
+ type: string
532
+ - name: serialNumber
533
+ in: path
534
+ description: serialNumber
535
+ required: true
536
+ style: simple
537
+ schema:
538
+ type: string
539
+ requestBody:
540
+ description: revokeCertificateRequest
541
+ content:
542
+ application/json:
543
+ schema:
544
+ allOf:
545
+ - $ref: '#/components/schemas/RevokeCertificateRequest'
546
+ - description: revokeCertificateRequest
547
+ required: false
548
+ responses:
549
+ '200':
550
+ description: OK
551
+ headers: {}
552
+ content:
553
+ application/json:
554
+ schema:
555
+ type: object
556
+ '201':
557
+ description: Created
558
+ headers: {}
559
+ content: {}
560
+ '401':
561
+ description: Unauthorized
562
+ headers: {}
563
+ content: {}
564
+ '403':
565
+ description: Forbidden
566
+ headers: {}
567
+ content: {}
568
+ '404':
569
+ description: Not Found
570
+ headers: {}
571
+ content: {}
572
+ deprecated: false
573
+ delete:
574
+ tags:
575
+ - Certificate Enrollment API
576
+ summary: unRevokeCertificateUsingDELETE
577
+ description: This API can resume certificate with the given serial number.
578
+ operationId: unRevokeCertificateUsingDELETE
579
+ parameters:
580
+ - name: X-API-Key
581
+ in: header
582
+ description: ''
583
+ style: simple
584
+ schema:
585
+ type: string
586
+ - name: serialNumber
587
+ in: path
588
+ description: serialNumber
589
+ required: true
590
+ style: simple
591
+ schema:
592
+ type: string
593
+ responses:
594
+ '200':
595
+ description: OK
596
+ headers: {}
597
+ content:
598
+ application/json:
599
+ schema:
600
+ type: object
601
+ '204':
602
+ description: No Content
603
+ headers: {}
604
+ content: {}
605
+ '401':
606
+ description: Unauthorized
607
+ headers: {}
608
+ content: {}
609
+ '403':
610
+ description: Forbidden
611
+ headers: {}
612
+ content: {}
613
+ deprecated: false
614
+ /api/v1/profile:
615
+ get:
616
+ tags:
617
+ - Certificate Profile API
618
+ summary: getAllProfilesUsingGET
619
+ description: This API is used to get profile details of all profiles in an account and its subaccounts
620
+ operationId: getAllProfilesUsingGET
621
+ parameters:
622
+ - name: X-API-Key
623
+ in: header
624
+ description: ''
625
+ style: simple
626
+ schema:
627
+ type: string
628
+ responses:
629
+ '200':
630
+ description: OK
631
+ headers: {}
632
+ content:
633
+ application/json:
634
+ schema:
635
+ type: array
636
+ items:
637
+ $ref: '#/components/schemas/GetProfileResponse'
638
+ description: ''
639
+ '401':
640
+ description: Unauthorized
641
+ headers: {}
642
+ content: {}
643
+ '403':
644
+ description: Forbidden
645
+ headers: {}
646
+ content: {}
647
+ '404':
648
+ description: Not Found
649
+ headers: {}
650
+ content: {}
651
+ deprecated: false
652
+ /api/v1/profile/{profileId}:
653
+ get:
654
+ tags:
655
+ - Certificate Profile API
656
+ summary: getProfileUsingGET
657
+ description: This API is used to get profile details for a given profile id
658
+ operationId: getProfileUsingGET
659
+ parameters:
660
+ - name: X-API-Key
661
+ in: header
662
+ description: ''
663
+ style: simple
664
+ schema:
665
+ type: string
666
+ - name: profileId
667
+ in: path
668
+ description: profileId
669
+ required: true
670
+ style: simple
671
+ schema:
672
+ type: string
673
+ responses:
674
+ '200':
675
+ description: OK
676
+ headers: {}
677
+ content:
678
+ application/json:
679
+ schema:
680
+ $ref: '#/components/schemas/GetProfileResponse'
681
+ '401':
682
+ description: Unauthorized
683
+ headers: {}
684
+ content: {}
685
+ '403':
686
+ description: Forbidden
687
+ headers: {}
688
+ content: {}
689
+ '404':
690
+ description: Not Found
691
+ headers: {}
692
+ content: {}
693
+ deprecated: false
694
+ /api/v1/enrollstatus/{seatId}:
695
+ get:
696
+ tags:
697
+ - Enroll Status API
698
+ summary: enrollStatusUsingGET
699
+ description: This API is used to get certificate enrollment status.
700
+ operationId: enrollStatusUsingGET
701
+ parameters:
702
+ - name: X-API-Key
703
+ in: header
704
+ description: ''
705
+ style: simple
706
+ schema:
707
+ type: string
708
+ - name: profile_id
709
+ in: query
710
+ description: profile_id
711
+ style: form
712
+ explode: true
713
+ schema:
714
+ type: string
715
+ - name: seatId
716
+ in: path
717
+ description: seatId
718
+ required: true
719
+ style: simple
720
+ schema:
721
+ type: string
722
+ responses:
723
+ '200':
724
+ description: Certificate enrollment status result
725
+ headers: {}
726
+ content:
727
+ application/json:
728
+ schema:
729
+ type: array
730
+ items:
731
+ $ref: '#/components/schemas/GetEnrollStatusResponse'
732
+ description: ''
733
+ '400':
734
+ description: Bad Request
735
+ headers: {}
736
+ content:
737
+ application/json:
738
+ schema:
739
+ $ref: '#/components/schemas/ErrorResponse'
740
+ '401':
741
+ description: Unauthorized
742
+ headers: {}
743
+ content: {}
744
+ '403':
745
+ description: Forbidden
746
+ headers: {}
747
+ content: {}
748
+ '404':
749
+ description: Not Found
750
+ headers: {}
751
+ content:
752
+ application/json:
753
+ schema:
754
+ $ref: '#/components/schemas/ErrorResponse'
755
+ '500':
756
+ description: Internal Server Error
757
+ headers: {}
758
+ content:
759
+ application/json:
760
+ schema:
761
+ $ref: '#/components/schemas/ErrorResponse'
762
+ deprecated: false
763
+ /api/v1/hello:
764
+ get:
765
+ tags:
766
+ - Hello API
767
+ summary: helloUsingGET
768
+ description: Hello API
769
+ operationId: helloUsingGET
770
+ parameters:
771
+ - name: X-API-Key
772
+ in: header
773
+ description: ''
774
+ style: simple
775
+ schema:
776
+ type: string
777
+ responses:
778
+ '200':
779
+ description: OK
780
+ headers: {}
781
+ content:
782
+ '*/*':
783
+ schema: {}
784
+ '401':
785
+ description: Unauthorized
786
+ headers: {}
787
+ content: {}
788
+ '403':
789
+ description: Forbidden
790
+ headers: {}
791
+ content: {}
792
+ '404':
793
+ description: Not Found
794
+ headers: {}
795
+ content: {}
796
+ deprecated: false
797
+ /api/v1/profile/activate:
798
+ put:
799
+ tags:
800
+ - PROFILE API
801
+ summary: activateProfileUsingPUT
802
+ description: This API is used to suspend a profile
803
+ operationId: activateProfileUsingPUT
804
+ parameters:
805
+ - name: X-API-Key
806
+ in: header
807
+ description: ''
808
+ style: simple
809
+ schema:
810
+ type: string
811
+ requestBody:
812
+ description: profileCreationRequest
813
+ content:
814
+ application/json:
815
+ schema:
816
+ allOf:
817
+ - $ref: '#/components/schemas/ProfileCreationRequest'
818
+ - description: profileCreationRequest
819
+ required: true
820
+ responses:
821
+ '200':
822
+ description: OK
823
+ headers: {}
824
+ content:
825
+ '*/*':
826
+ schema: {}
827
+ '201':
828
+ description: Created
829
+ headers: {}
830
+ content: {}
831
+ '401':
832
+ description: Unauthorized
833
+ headers: {}
834
+ content: {}
835
+ '403':
836
+ description: Forbidden
837
+ headers: {}
838
+ content: {}
839
+ '404':
840
+ description: Not Found
841
+ headers: {}
842
+ content: {}
843
+ deprecated: false
844
+ /api/v1/profile/create:
845
+ post:
846
+ tags:
847
+ - PROFILE API
848
+ summary: createProfileUsingPOST
849
+ description: This API is used to create a profile
850
+ operationId: createProfileUsingPOST
851
+ parameters:
852
+ - name: X-API-Key
853
+ in: header
854
+ description: ''
855
+ style: simple
856
+ schema:
857
+ type: string
858
+ requestBody:
859
+ description: profileCreationRequest
860
+ content:
861
+ application/json:
862
+ schema:
863
+ allOf:
864
+ - $ref: '#/components/schemas/ProfileCreationRequest'
865
+ - description: profileCreationRequest
866
+ required: true
867
+ responses:
868
+ '200':
869
+ description: OK
870
+ headers: {}
871
+ content:
872
+ application/json:
873
+ schema:
874
+ type: object
875
+ '201':
876
+ description: Created
877
+ headers: {}
878
+ content: {}
879
+ '401':
880
+ description: Unauthorized
881
+ headers: {}
882
+ content: {}
883
+ '403':
884
+ description: Forbidden
885
+ headers: {}
886
+ content: {}
887
+ '404':
888
+ description: Not Found
889
+ headers: {}
890
+ content: {}
891
+ deprecated: false
892
+ /api/v1/profile/delete:
893
+ put:
894
+ tags:
895
+ - PROFILE API
896
+ summary: deleteProfileUsingPUT
897
+ description: This API is used to delete a profile
898
+ operationId: deleteProfileUsingPUT
899
+ parameters:
900
+ - name: X-API-Key
901
+ in: header
902
+ description: ''
903
+ style: simple
904
+ schema:
905
+ type: string
906
+ requestBody:
907
+ description: profileCreationRequest
908
+ content:
909
+ application/json:
910
+ schema:
911
+ allOf:
912
+ - $ref: '#/components/schemas/ProfileCreationRequest'
913
+ - description: profileCreationRequest
914
+ required: true
915
+ responses:
916
+ '200':
917
+ description: OK
918
+ headers: {}
919
+ content:
920
+ '*/*':
921
+ schema: {}
922
+ '201':
923
+ description: Created
924
+ headers: {}
925
+ content: {}
926
+ '401':
927
+ description: Unauthorized
928
+ headers: {}
929
+ content: {}
930
+ '403':
931
+ description: Forbidden
932
+ headers: {}
933
+ content: {}
934
+ '404':
935
+ description: Not Found
936
+ headers: {}
937
+ content: {}
938
+ deprecated: false
939
+ /api/v1/profile/edit:
940
+ put:
941
+ tags:
942
+ - PROFILE API
943
+ summary: updateProfileUsingPUT
944
+ description: This API is used to create a profile
945
+ operationId: updateProfileUsingPUT
946
+ parameters:
947
+ - name: X-API-Key
948
+ in: header
949
+ description: ''
950
+ style: simple
951
+ schema:
952
+ type: string
953
+ requestBody:
954
+ description: profileCreationRequest
955
+ content:
956
+ application/json:
957
+ schema:
958
+ allOf:
959
+ - $ref: '#/components/schemas/ProfileCreationRequest'
960
+ - description: profileCreationRequest
961
+ required: true
962
+ responses:
963
+ '200':
964
+ description: OK
965
+ headers: {}
966
+ content:
967
+ '*/*':
968
+ schema: {}
969
+ '201':
970
+ description: Created
971
+ headers: {}
972
+ content: {}
973
+ '401':
974
+ description: Unauthorized
975
+ headers: {}
976
+ content: {}
977
+ '403':
978
+ description: Forbidden
979
+ headers: {}
980
+ content: {}
981
+ '404':
982
+ description: Not Found
983
+ headers: {}
984
+ content: {}
985
+ deprecated: false
986
+ /api/v1/profile/suspend:
987
+ put:
988
+ tags:
989
+ - PROFILE API
990
+ summary: suspendProfileUsingPUT
991
+ description: This API is used to suspend a profile
992
+ operationId: suspendProfileUsingPUT
993
+ parameters:
994
+ - name: X-API-Key
995
+ in: header
996
+ description: ''
997
+ style: simple
998
+ schema:
999
+ type: string
1000
+ requestBody:
1001
+ description: profileCreationRequest
1002
+ content:
1003
+ application/json:
1004
+ schema:
1005
+ allOf:
1006
+ - $ref: '#/components/schemas/ProfileCreationRequest'
1007
+ - description: profileCreationRequest
1008
+ required: true
1009
+ responses:
1010
+ '200':
1011
+ description: OK
1012
+ headers: {}
1013
+ content:
1014
+ '*/*':
1015
+ schema: {}
1016
+ '201':
1017
+ description: Created
1018
+ headers: {}
1019
+ content: {}
1020
+ '401':
1021
+ description: Unauthorized
1022
+ headers: {}
1023
+ content: {}
1024
+ '403':
1025
+ description: Forbidden
1026
+ headers: {}
1027
+ content: {}
1028
+ '404':
1029
+ description: Not Found
1030
+ headers: {}
1031
+ content: {}
1032
+ deprecated: false
1033
+ /api/v1/profile/test:
1034
+ post:
1035
+ tags:
1036
+ - PROFILE API
1037
+ summary: testCreateUsingPOST
1038
+ description: This API is used to create a profile
1039
+ operationId: testCreateUsingPOST
1040
+ parameters:
1041
+ - name: X-API-Key
1042
+ in: header
1043
+ description: ''
1044
+ style: simple
1045
+ schema:
1046
+ type: string
1047
+ - name: Content-Type
1048
+ in: header
1049
+ description: ''
1050
+ required: true
1051
+ style: simple
1052
+ schema:
1053
+ $ref: '#/components/schemas/Content-Type'
1054
+ responses:
1055
+ '200':
1056
+ description: OK
1057
+ headers: {}
1058
+ content:
1059
+ application/json:
1060
+ schema:
1061
+ type: object
1062
+ '201':
1063
+ description: Created
1064
+ headers: {}
1065
+ content: {}
1066
+ '401':
1067
+ description: Unauthorized
1068
+ headers: {}
1069
+ content: {}
1070
+ '403':
1071
+ description: Forbidden
1072
+ headers: {}
1073
+ content: {}
1074
+ '404':
1075
+ description: Not Found
1076
+ headers: {}
1077
+ content: {}
1078
+ deprecated: false
1079
+ /api/v1/searchcert:
1080
+ post:
1081
+ tags:
1082
+ - Search Certificate API
1083
+ summary: searchCertUsingPOST
1084
+ description: This API is used to search for certificates.
1085
+ operationId: searchCertUsingPOST
1086
+ parameters:
1087
+ - name: X-API-Key
1088
+ in: header
1089
+ description: ''
1090
+ style: simple
1091
+ schema:
1092
+ type: string
1093
+ requestBody:
1094
+ description: searchReq
1095
+ content:
1096
+ application/json:
1097
+ schema:
1098
+ allOf:
1099
+ - $ref: '#/components/schemas/SearchCertificateRequest'
1100
+ - description: searchReq
1101
+ required: true
1102
+ responses:
1103
+ '200':
1104
+ description: Certificate search result
1105
+ headers: {}
1106
+ content:
1107
+ application/json:
1108
+ schema:
1109
+ $ref: '#/components/schemas/SearchCertificateResponse'
1110
+ '201':
1111
+ description: Created
1112
+ headers: {}
1113
+ content: {}
1114
+ '400':
1115
+ description: Bad Request
1116
+ headers: {}
1117
+ content:
1118
+ application/json:
1119
+ schema:
1120
+ $ref: '#/components/schemas/ErrorResponse'
1121
+ '401':
1122
+ description: Unauthorized
1123
+ headers: {}
1124
+ content: {}
1125
+ '403':
1126
+ description: Forbidden
1127
+ headers: {}
1128
+ content: {}
1129
+ '404':
1130
+ description: Not Found
1131
+ headers: {}
1132
+ content:
1133
+ application/json:
1134
+ schema:
1135
+ $ref: '#/components/schemas/ErrorResponse'
1136
+ '500':
1137
+ description: Internal Server Error
1138
+ headers: {}
1139
+ content:
1140
+ application/json:
1141
+ schema:
1142
+ $ref: '#/components/schemas/ErrorResponse'
1143
+ deprecated: false
1144
+ /api/v1/seat:
1145
+ post:
1146
+ tags:
1147
+ - Seat Management API
1148
+ summary: createSeatUsingPOST
1149
+ description: This API is used to create a seat. This seat can be used for a user, device, server or organization seat pool.
1150
+ operationId: createSeatUsingPOST
1151
+ parameters:
1152
+ - name: X-API-Key
1153
+ in: header
1154
+ description: ''
1155
+ style: simple
1156
+ schema:
1157
+ type: string
1158
+ requestBody:
1159
+ description: createSeatRequest
1160
+ content:
1161
+ application/json:
1162
+ schema:
1163
+ allOf:
1164
+ - $ref: '#/components/schemas/CreateSeatRequest'
1165
+ - description: createSeatRequest
1166
+ required: true
1167
+ responses:
1168
+ '201':
1169
+ description: Created
1170
+ headers: {}
1171
+ content:
1172
+ application/json:
1173
+ schema:
1174
+ type: object
1175
+ '401':
1176
+ description: Unauthorized
1177
+ headers: {}
1178
+ content: {}
1179
+ '403':
1180
+ description: Forbidden
1181
+ headers: {}
1182
+ content: {}
1183
+ '404':
1184
+ description: Not Found
1185
+ headers: {}
1186
+ content: {}
1187
+ deprecated: false
1188
+ /api/v1/seat/{seatId}:
1189
+ get:
1190
+ tags:
1191
+ - Seat Management API
1192
+ summary: getSeatUsingGET
1193
+ description: This API is used to get information regarding a seat.
1194
+ operationId: getSeatUsingGET
1195
+ parameters:
1196
+ - name: X-API-Key
1197
+ in: header
1198
+ description: ''
1199
+ style: simple
1200
+ schema:
1201
+ type: string
1202
+ - name: seatId
1203
+ in: path
1204
+ description: seatId
1205
+ required: true
1206
+ style: simple
1207
+ schema:
1208
+ type: string
1209
+ responses:
1210
+ '200':
1211
+ description: OK
1212
+ headers: {}
1213
+ content:
1214
+ application/json:
1215
+ schema:
1216
+ type: object
1217
+ '401':
1218
+ description: Unauthorized
1219
+ headers: {}
1220
+ content: {}
1221
+ '403':
1222
+ description: Forbidden
1223
+ headers: {}
1224
+ content: {}
1225
+ '404':
1226
+ description: Not Found
1227
+ headers: {}
1228
+ content: {}
1229
+ deprecated: false
1230
+ put:
1231
+ tags:
1232
+ - Seat Management API
1233
+ summary: updateSeatUsingPUT
1234
+ description: This API is used to change the seat details.
1235
+ operationId: updateSeatUsingPUT
1236
+ parameters:
1237
+ - name: X-API-Key
1238
+ in: header
1239
+ description: ''
1240
+ style: simple
1241
+ schema:
1242
+ type: string
1243
+ - name: seatId
1244
+ in: path
1245
+ description: seatId
1246
+ required: true
1247
+ style: simple
1248
+ schema:
1249
+ type: string
1250
+ requestBody:
1251
+ description: updateSeatRequest
1252
+ content:
1253
+ application/json:
1254
+ schema:
1255
+ allOf:
1256
+ - $ref: '#/components/schemas/UpdateSeatRequest'
1257
+ - description: updateSeatRequest
1258
+ required: true
1259
+ responses:
1260
+ '200':
1261
+ description: OK
1262
+ headers: {}
1263
+ content:
1264
+ application/json:
1265
+ schema:
1266
+ type: object
1267
+ '201':
1268
+ description: Created
1269
+ headers: {}
1270
+ content: {}
1271
+ '401':
1272
+ description: Unauthorized
1273
+ headers: {}
1274
+ content: {}
1275
+ '403':
1276
+ description: Forbidden
1277
+ headers: {}
1278
+ content: {}
1279
+ '404':
1280
+ description: Not Found
1281
+ headers: {}
1282
+ content: {}
1283
+ deprecated: false
1284
+ delete:
1285
+ tags:
1286
+ - Seat Management API
1287
+ summary: deleteSeatUsingDELETE
1288
+ description: This API is used to delete a seat. Deleting a seat will revoke all the certificates associated to the specified seat.
1289
+ operationId: deleteSeatUsingDELETE
1290
+ parameters:
1291
+ - name: X-API-Key
1292
+ in: header
1293
+ description: ''
1294
+ style: simple
1295
+ schema:
1296
+ type: string
1297
+ - name: seatId
1298
+ in: path
1299
+ description: seatId
1300
+ required: true
1301
+ style: simple
1302
+ schema:
1303
+ type: string
1304
+ responses:
1305
+ '200':
1306
+ description: OK
1307
+ headers: {}
1308
+ content:
1309
+ application/json:
1310
+ schema:
1311
+ type: object
1312
+ '204':
1313
+ description: No Content
1314
+ headers: {}
1315
+ content: {}
1316
+ '401':
1317
+ description: Unauthorized
1318
+ headers: {}
1319
+ content: {}
1320
+ '403':
1321
+ description: Forbidden
1322
+ headers: {}
1323
+ content: {}
1324
+ deprecated: false
1325
+ /api/v1/enrollment:
1326
+ post:
1327
+ tags:
1328
+ - User Management API
1329
+ summary: createPasscodeUsingPOST
1330
+ description: This API is used to enroll user for profile.
1331
+ operationId: createPasscodeUsingPOST
1332
+ parameters:
1333
+ - name: X-API-Key
1334
+ in: header
1335
+ description: ''
1336
+ style: simple
1337
+ schema:
1338
+ type: string
1339
+ requestBody:
1340
+ description: createPasscodeRequest
1341
+ content:
1342
+ application/json:
1343
+ schema:
1344
+ allOf:
1345
+ - $ref: '#/components/schemas/CreatePasscodeRequest'
1346
+ - description: createPasscodeRequest
1347
+ required: true
1348
+ responses:
1349
+ '201':
1350
+ description: Created
1351
+ headers: {}
1352
+ content:
1353
+ application/json:
1354
+ schema:
1355
+ type: object
1356
+ '401':
1357
+ description: Unauthorized
1358
+ headers: {}
1359
+ content: {}
1360
+ '403':
1361
+ description: Forbidden
1362
+ headers: {}
1363
+ content: {}
1364
+ '404':
1365
+ description: Not Found
1366
+ headers: {}
1367
+ content: {}
1368
+ deprecated: false
1369
+ /api/v1/enrollment/{enrollCode}:
1370
+ get:
1371
+ tags:
1372
+ - User Management API
1373
+ summary: getEnrollmentUsingGET
1374
+ description: This API is used to get details of an existing enrollment.
1375
+ operationId: getEnrollmentUsingGET
1376
+ parameters:
1377
+ - name: X-API-Key
1378
+ in: header
1379
+ description: ''
1380
+ style: simple
1381
+ schema:
1382
+ type: string
1383
+ - name: enrollCode
1384
+ in: path
1385
+ description: enrollCode
1386
+ required: true
1387
+ style: simple
1388
+ schema:
1389
+ type: string
1390
+ - name: seat_id
1391
+ in: query
1392
+ description: seat_id
1393
+ required: true
1394
+ style: form
1395
+ explode: true
1396
+ schema:
1397
+ type: string
1398
+ responses:
1399
+ '200':
1400
+ description: OK
1401
+ headers: {}
1402
+ content:
1403
+ application/json:
1404
+ schema:
1405
+ type: object
1406
+ '401':
1407
+ description: Unauthorized
1408
+ headers: {}
1409
+ content: {}
1410
+ '403':
1411
+ description: Forbidden
1412
+ headers: {}
1413
+ content: {}
1414
+ '404':
1415
+ description: Not Found
1416
+ headers: {}
1417
+ content: {}
1418
+ deprecated: false
1419
+ put:
1420
+ tags:
1421
+ - User Management API
1422
+ summary: resetPasscodeUsingPUT
1423
+ description: This API is used to reset enrollment code.
1424
+ operationId: resetPasscodeUsingPUT
1425
+ parameters:
1426
+ - name: X-API-Key
1427
+ in: header
1428
+ description: ''
1429
+ style: simple
1430
+ schema:
1431
+ type: string
1432
+ - name: enrollCode
1433
+ in: path
1434
+ description: enrollCode
1435
+ required: true
1436
+ style: simple
1437
+ schema:
1438
+ type: string
1439
+ requestBody:
1440
+ description: resetPasscodeRequest
1441
+ content:
1442
+ application/json:
1443
+ schema:
1444
+ allOf:
1445
+ - $ref: '#/components/schemas/DeleteEnrollmentRequest'
1446
+ - description: resetPasscodeRequest
1447
+ required: true
1448
+ responses:
1449
+ '200':
1450
+ description: OK
1451
+ headers: {}
1452
+ content:
1453
+ application/json:
1454
+ schema:
1455
+ type: object
1456
+ '201':
1457
+ description: Created
1458
+ headers: {}
1459
+ content: {}
1460
+ '401':
1461
+ description: Unauthorized
1462
+ headers: {}
1463
+ content: {}
1464
+ '403':
1465
+ description: Forbidden
1466
+ headers: {}
1467
+ content: {}
1468
+ '404':
1469
+ description: Not Found
1470
+ headers: {}
1471
+ content: {}
1472
+ deprecated: false
1473
+ delete:
1474
+ tags:
1475
+ - User Management API
1476
+ summary: deleteEnrollmentUsingDELETE
1477
+ description: This API can delete an enrollment for given enrollment id
1478
+ operationId: deleteEnrollmentUsingDELETE
1479
+ parameters:
1480
+ - name: X-API-Key
1481
+ in: header
1482
+ description: ''
1483
+ style: simple
1484
+ schema:
1485
+ type: string
1486
+ - name: enrollCode
1487
+ in: path
1488
+ description: enrollCode
1489
+ required: true
1490
+ style: simple
1491
+ schema:
1492
+ type: string
1493
+ responses:
1494
+ '200':
1495
+ description: OK
1496
+ headers: {}
1497
+ content:
1498
+ application/json:
1499
+ schema:
1500
+ type: object
1501
+ '204':
1502
+ description: No Content
1503
+ headers: {}
1504
+ content: {}
1505
+ '401':
1506
+ description: Unauthorized
1507
+ headers: {}
1508
+ content: {}
1509
+ '403':
1510
+ description: Forbidden
1511
+ headers: {}
1512
+ content: {}
1513
+ deprecated: false
1514
+ components:
1515
+ schemas:
1516
+ Account:
1517
+ title: Account
1518
+ type: object
1519
+ properties:
1520
+ id:
1521
+ type: integer
1522
+ format: int64
1523
+ ApiError:
1524
+ title: ApiError
1525
+ type: object
1526
+ properties:
1527
+ code:
1528
+ type: string
1529
+ field:
1530
+ type: string
1531
+ message:
1532
+ type: string
1533
+ Attribute:
1534
+ title: Attribute
1535
+ type: object
1536
+ properties:
1537
+ id:
1538
+ type: string
1539
+ mandatory:
1540
+ type: boolean
1541
+ type:
1542
+ type: string
1543
+ value:
1544
+ type: string
1545
+ AttributeSource:
1546
+ title: AttributeSource
1547
+ type: object
1548
+ properties:
1549
+ mandatory:
1550
+ type: boolean
1551
+ value:
1552
+ type: object
1553
+ AuthAttribute:
1554
+ title: AuthAttribute
1555
+ type: object
1556
+ properties:
1557
+ display_name:
1558
+ type: string
1559
+ id:
1560
+ type: string
1561
+ mandatory:
1562
+ type: boolean
1563
+ type:
1564
+ type: string
1565
+ value:
1566
+ type: string
1567
+ Authentication:
1568
+ title: Authentication
1569
+ type: object
1570
+ properties:
1571
+ approval:
1572
+ type: string
1573
+ attributes:
1574
+ type: array
1575
+ items:
1576
+ $ref: '#/components/schemas/AuthAttribute'
1577
+ description: ''
1578
+ method:
1579
+ type: string
1580
+ method_id:
1581
+ type: string
1582
+ CertificateAttributes:
1583
+ title: CertificateAttributes
1584
+ type: object
1585
+ properties:
1586
+ common_name:
1587
+ type: string
1588
+ content_type:
1589
+ type: string
1590
+ counter_signature:
1591
+ type: string
1592
+ country:
1593
+ type: string
1594
+ custom_attributes:
1595
+ type: object
1596
+ additionalProperties:
1597
+ type: string
1598
+ dn_qualifier:
1599
+ type: string
1600
+ domain_component:
1601
+ type: array
1602
+ items:
1603
+ $ref: '#/components/schemas/Attribute'
1604
+ description: ''
1605
+ domain_name:
1606
+ type: string
1607
+ email:
1608
+ type: string
1609
+ given_name:
1610
+ type: string
1611
+ ip_address:
1612
+ type: string
1613
+ job_title:
1614
+ type: string
1615
+ locality:
1616
+ type: string
1617
+ message_digest:
1618
+ type: string
1619
+ organization_name:
1620
+ type: string
1621
+ organization_unit:
1622
+ type: array
1623
+ items:
1624
+ $ref: '#/components/schemas/Attribute'
1625
+ description: ''
1626
+ postal_code:
1627
+ type: string
1628
+ pseudonym:
1629
+ type: string
1630
+ san:
1631
+ $ref: '#/components/schemas/SanAttributes'
1632
+ serial_number:
1633
+ type: string
1634
+ signing_time:
1635
+ type: string
1636
+ state:
1637
+ type: string
1638
+ street_address:
1639
+ type: array
1640
+ items:
1641
+ $ref: '#/components/schemas/Attribute'
1642
+ description: ''
1643
+ surname:
1644
+ type: string
1645
+ unique_identifier:
1646
+ type: string
1647
+ unstructured_address:
1648
+ type: string
1649
+ unstructured_name:
1650
+ type: string
1651
+ user_id:
1652
+ type: string
1653
+ CertificateDetails:
1654
+ title: CertificateDetails
1655
+ type: object
1656
+ properties:
1657
+ extensions:
1658
+ $ref: '#/components/schemas/Extensions'
1659
+ issuer:
1660
+ $ref: '#/components/schemas/Issuer'
1661
+ subject:
1662
+ $ref: '#/components/schemas/Subject'
1663
+ validity:
1664
+ $ref: '#/components/schemas/Validity'
1665
+ CertificateInfo:
1666
+ title: CertificateInfo
1667
+ type: object
1668
+ properties:
1669
+ certificate:
1670
+ type: string
1671
+ root:
1672
+ type: boolean
1673
+ serial_number:
1674
+ type: string
1675
+ subject_dn:
1676
+ type: string
1677
+ CreateCertificateRequest:
1678
+ title: CreateCertificateRequest
1679
+ type: object
1680
+ properties:
1681
+ csr:
1682
+ type: string
1683
+ extensions:
1684
+ type: object
1685
+ include_ca_chain:
1686
+ type: boolean
1687
+ profile:
1688
+ $ref: '#/components/schemas/Profile'
1689
+ seat:
1690
+ $ref: '#/components/schemas/Seat'
1691
+ subject:
1692
+ type: object
1693
+ validity:
1694
+ $ref: '#/components/schemas/Validity'
1695
+ CreatePasscodeRequest:
1696
+ title: CreatePasscodeRequest
1697
+ type: object
1698
+ properties:
1699
+ attributes:
1700
+ $ref: '#/components/schemas/CertificateAttributes'
1701
+ profile:
1702
+ $ref: '#/components/schemas/Profile'
1703
+ seat:
1704
+ $ref: '#/components/schemas/Seat'
1705
+ CreateSeatRequest:
1706
+ title: CreateSeatRequest
1707
+ type: object
1708
+ properties:
1709
+ email:
1710
+ type: string
1711
+ phone:
1712
+ type: string
1713
+ seat_id:
1714
+ type: string
1715
+ seat_name:
1716
+ type: string
1717
+ CryptoProviders:
1718
+ title: CryptoProviders
1719
+ type: object
1720
+ properties:
1721
+ provider:
1722
+ type: array
1723
+ items:
1724
+ type: string
1725
+ description: ''
1726
+ DeleteEnrollmentRequest:
1727
+ title: DeleteEnrollmentRequest
1728
+ type: object
1729
+ properties:
1730
+ seat:
1731
+ $ref: '#/components/schemas/Seat'
1732
+ Enrollment:
1733
+ title: Enrollment
1734
+ type: object
1735
+ properties:
1736
+ client_type:
1737
+ type: string
1738
+ client_type_id:
1739
+ type: string
1740
+ ErrorResponse:
1741
+ title: ErrorResponse
1742
+ type: object
1743
+ properties:
1744
+ errors:
1745
+ type: array
1746
+ items:
1747
+ $ref: '#/components/schemas/ApiError'
1748
+ description: ''
1749
+ ExtendedAttribute:
1750
+ title: ExtendedAttribute
1751
+ type: object
1752
+ properties:
1753
+ id:
1754
+ type: string
1755
+ mandatory:
1756
+ type: boolean
1757
+ multiple:
1758
+ type: boolean
1759
+ sources:
1760
+ type: array
1761
+ items:
1762
+ $ref: '#/components/schemas/AttributeSource'
1763
+ description: ''
1764
+ type:
1765
+ type: string
1766
+ value:
1767
+ type: string
1768
+ ExtendedKeyUsageListType:
1769
+ title: ExtendedKeyUsageListType
1770
+ type: object
1771
+ properties:
1772
+ critical:
1773
+ type: boolean
1774
+ extended_key_usages:
1775
+ type: array
1776
+ items:
1777
+ type: string
1778
+ description: ''
1779
+ Extensions:
1780
+ title: Extensions
1781
+ type: object
1782
+ properties:
1783
+ san:
1784
+ $ref: '#/components/schemas/San'
1785
+ GetCertificateResponse:
1786
+ title: GetCertificateResponse
1787
+ type: object
1788
+ properties:
1789
+ account:
1790
+ $ref: '#/components/schemas/Account'
1791
+ certificate:
1792
+ type: string
1793
+ common_name:
1794
+ type: string
1795
+ enrollment_notes:
1796
+ type: string
1797
+ is_key_escrowed:
1798
+ type: boolean
1799
+ password:
1800
+ type: string
1801
+ profile:
1802
+ $ref: '#/components/schemas/Profile'
1803
+ revocation:
1804
+ $ref: '#/components/schemas/Revocation'
1805
+ seat:
1806
+ $ref: '#/components/schemas/Seat'
1807
+ serial_number:
1808
+ type: string
1809
+ session_key:
1810
+ type: string
1811
+ status:
1812
+ type: string
1813
+ valid_from:
1814
+ type: string
1815
+ valid_to:
1816
+ type: string
1817
+ webpin:
1818
+ type: string
1819
+ GetEnrollStatusResponse:
1820
+ title: GetEnrollStatusResponse
1821
+ type: object
1822
+ properties:
1823
+ certificates:
1824
+ type: array
1825
+ items:
1826
+ type: string
1827
+ description: ''
1828
+ created_at:
1829
+ type: string
1830
+ profile_id:
1831
+ type: string
1832
+ status:
1833
+ type: string
1834
+ updated_at:
1835
+ type: string
1836
+ GetProfileResponse:
1837
+ title: GetProfileResponse
1838
+ type: object
1839
+ properties:
1840
+ authentication:
1841
+ $ref: '#/components/schemas/Authentication'
1842
+ certificate:
1843
+ $ref: '#/components/schemas/CertificateDetails'
1844
+ certificate_delivery_format:
1845
+ type: string
1846
+ duplicate_cert_policy:
1847
+ type: boolean
1848
+ enrollment:
1849
+ $ref: '#/components/schemas/Enrollment'
1850
+ id:
1851
+ type: string
1852
+ name:
1853
+ type: string
1854
+ private_key_attributes:
1855
+ $ref: '#/components/schemas/PrivateKeyAttributes'
1856
+ publish_to_public_directory:
1857
+ type: boolean
1858
+ renewal_period_days:
1859
+ type: integer
1860
+ format: int32
1861
+ signature_algorithm:
1862
+ type: string
1863
+ status:
1864
+ type: string
1865
+ Issuer:
1866
+ title: Issuer
1867
+ type: object
1868
+ properties:
1869
+ certificate:
1870
+ type: string
1871
+ chain:
1872
+ type: array
1873
+ items:
1874
+ $ref: '#/components/schemas/CertificateInfo'
1875
+ description: ''
1876
+ root:
1877
+ type: boolean
1878
+ serial_number:
1879
+ type: string
1880
+ subject_dn:
1881
+ type: string
1882
+ KeyEscrowPolicy:
1883
+ title: KeyEscrowPolicy
1884
+ type: object
1885
+ properties:
1886
+ dual_admin_recovery:
1887
+ type: boolean
1888
+ key_escrow_deployment_mode:
1889
+ $ref: '#/components/schemas/KeyEscrowDeploymentMode'
1890
+ key_escrow_enabled:
1891
+ type: boolean
1892
+ KeyEscrowPolicyType:
1893
+ title: KeyEscrowPolicyType
1894
+ type: object
1895
+ properties:
1896
+ do_key_recovery_for_additional_enroll_request:
1897
+ type: boolean
1898
+ key_escrow_deployment_mode:
1899
+ type: string
1900
+ key_escrow_enabled:
1901
+ type: boolean
1902
+ key_recovery_dual_admin_approval_required:
1903
+ type: boolean
1904
+ KeyUsageListType:
1905
+ title: KeyUsageListType
1906
+ type: object
1907
+ properties:
1908
+ critical:
1909
+ type: boolean
1910
+ key_usages:
1911
+ type: array
1912
+ items:
1913
+ type: string
1914
+ description: ''
1915
+ PrivateKeyAttributes:
1916
+ title: PrivateKeyAttributes
1917
+ type: object
1918
+ properties:
1919
+ algorithm_oid:
1920
+ type: string
1921
+ crypto_providers:
1922
+ $ref: '#/components/schemas/CryptoProviders'
1923
+ key_escrow_policy:
1924
+ $ref: '#/components/schemas/KeyEscrowPolicyType'
1925
+ key_exportable:
1926
+ type: boolean
1927
+ key_protect:
1928
+ type: boolean
1929
+ key_size:
1930
+ type: integer
1931
+ format: int32
1932
+ key_sizes:
1933
+ type: array
1934
+ items:
1935
+ type: integer
1936
+ format: int32
1937
+ description: ''
1938
+ Profile:
1939
+ title: Profile
1940
+ type: object
1941
+ properties:
1942
+ id:
1943
+ type: string
1944
+ name:
1945
+ type: string
1946
+ ProfileCreationRequest:
1947
+ title: ProfileCreationRequest
1948
+ type: object
1949
+ properties:
1950
+ bctOid:
1951
+ type: string
1952
+ caId:
1953
+ type: string
1954
+ duplicateCertPolicy:
1955
+ type: boolean
1956
+ extendedKeyUsages:
1957
+ $ref: '#/components/schemas/ExtendedKeyUsageListType'
1958
+ keyEscrowPolicy:
1959
+ $ref: '#/components/schemas/KeyEscrowPolicy'
1960
+ keySize:
1961
+ type: string
1962
+ keyUsages:
1963
+ $ref: '#/components/schemas/KeyUsageListType'
1964
+ overrideCertValidityViaApi:
1965
+ type: boolean
1966
+ profileName:
1967
+ type: string
1968
+ profileOid:
1969
+ type: string
1970
+ renewalPeriodDays:
1971
+ type: integer
1972
+ format: int32
1973
+ san:
1974
+ $ref: '#/components/schemas/San'
1975
+ signatureAlgorithm:
1976
+ type: string
1977
+ subject:
1978
+ $ref: '#/components/schemas/Subject'
1979
+ validity:
1980
+ $ref: '#/components/schemas/Validity'
1981
+ RequestCertificateRequest:
1982
+ title: RequestCertificateRequest
1983
+ type: object
1984
+ properties:
1985
+ attributes:
1986
+ $ref: '#/components/schemas/CertificateAttributes'
1987
+ authentication:
1988
+ type: object
1989
+ additionalProperties:
1990
+ type: string
1991
+ csr:
1992
+ type: string
1993
+ profile:
1994
+ $ref: '#/components/schemas/Profile'
1995
+ seat:
1996
+ $ref: '#/components/schemas/Seat'
1997
+ session_key:
1998
+ type: string
1999
+ validity:
2000
+ $ref: '#/components/schemas/Validity'
2001
+ ResetPasscodeRequest:
2002
+ title: ResetPasscodeRequest
2003
+ type: object
2004
+ properties:
2005
+ seat:
2006
+ $ref: '#/components/schemas/Seat'
2007
+ Revocation:
2008
+ title: Revocation
2009
+ type: object
2010
+ properties:
2011
+ comments:
2012
+ type: string
2013
+ reason:
2014
+ type: string
2015
+ revocation_date:
2016
+ type: string
2017
+ RevokeCertificateRequest:
2018
+ title: RevokeCertificateRequest
2019
+ type: object
2020
+ properties:
2021
+ revocation_reason:
2022
+ type: string
2023
+ San:
2024
+ title: San
2025
+ type: object
2026
+ properties:
2027
+ attributes:
2028
+ type: array
2029
+ items:
2030
+ $ref: '#/components/schemas/Attribute'
2031
+ description: ''
2032
+ critical:
2033
+ type: boolean
2034
+ SanAttributes:
2035
+ title: SanAttributes
2036
+ type: object
2037
+ properties:
2038
+ custom_attributes:
2039
+ type: object
2040
+ additionalProperties:
2041
+ type: string
2042
+ directory_name:
2043
+ type: string
2044
+ dns_name:
2045
+ type: array
2046
+ items:
2047
+ $ref: '#/components/schemas/Attribute'
2048
+ description: ''
2049
+ ip_address:
2050
+ type: array
2051
+ items:
2052
+ $ref: '#/components/schemas/Attribute'
2053
+ description: ''
2054
+ other_name:
2055
+ type: array
2056
+ items:
2057
+ $ref: '#/components/schemas/Attribute'
2058
+ description: ''
2059
+ registered_id:
2060
+ type: array
2061
+ items:
2062
+ $ref: '#/components/schemas/Attribute'
2063
+ description: ''
2064
+ rfc822_name:
2065
+ type: array
2066
+ items:
2067
+ $ref: '#/components/schemas/Attribute'
2068
+ description: ''
2069
+ user_principal_name:
2070
+ type: array
2071
+ items:
2072
+ $ref: '#/components/schemas/Attribute'
2073
+ description: ''
2074
+ SearchCertificateRequest:
2075
+ title: SearchCertificateRequest
2076
+ type: object
2077
+ properties:
2078
+ common_name:
2079
+ type: string
2080
+ email:
2081
+ type: string
2082
+ issuing_ca:
2083
+ type: string
2084
+ profile_id:
2085
+ type: string
2086
+ seat_id:
2087
+ type: string
2088
+ serial_number:
2089
+ type: string
2090
+ start_index:
2091
+ type: integer
2092
+ format: int32
2093
+ status:
2094
+ type: string
2095
+ valid_from:
2096
+ type: string
2097
+ valid_to:
2098
+ type: string
2099
+ SearchCertificateResponse:
2100
+ title: SearchCertificateResponse
2101
+ type: object
2102
+ properties:
2103
+ certificates:
2104
+ type: array
2105
+ items:
2106
+ $ref: '#/components/schemas/GetCertificateResponse'
2107
+ description: ''
2108
+ count:
2109
+ type: integer
2110
+ format: int32
2111
+ index:
2112
+ type: integer
2113
+ format: int32
2114
+ more_certs_available:
2115
+ type: boolean
2116
+ Seat:
2117
+ title: Seat
2118
+ type: object
2119
+ properties:
2120
+ email:
2121
+ type: string
2122
+ seat_id:
2123
+ type: string
2124
+ seat_name:
2125
+ type: string
2126
+ Subject:
2127
+ title: Subject
2128
+ type: object
2129
+ properties:
2130
+ attributes:
2131
+ type: array
2132
+ items:
2133
+ $ref: '#/components/schemas/ExtendedAttribute'
2134
+ description: ''
2135
+ UpdateSeatRequest:
2136
+ title: UpdateSeatRequest
2137
+ type: object
2138
+ properties:
2139
+ email:
2140
+ type: string
2141
+ phone:
2142
+ type: string
2143
+ seat_name:
2144
+ type: string
2145
+ Validity:
2146
+ title: Validity
2147
+ type: object
2148
+ properties:
2149
+ duration:
2150
+ type: integer
2151
+ format: int32
2152
+ unit:
2153
+ type: string
2154
+ KeyEscrowDeploymentMode:
2155
+ title: KeyEscrowDeploymentMode
2156
+ enum:
2157
+ - CLOUD
2158
+ - LOCAL
2159
+ type: string
2160
+ Content-Type:
2161
+ title: Content-Type
2162
+ enum:
2163
+ - application/json
2164
+ type: string
2165
+ tags:
2166
+ - name: Audit API
2167
+ description: Audit Controller
2168
+ - name: CA API
2169
+ description: Ca Controller
2170
+ - name: Certificate Enrollment API
2171
+ description: Certificate Controller
2172
+ - name: Certificate Profile API
2173
+ description: Profile Controller
2174
+ - name: Enroll Status API
2175
+ description: Enroll Status Controller
2176
+ - name: Hello API
2177
+ description: Hello Controller
2178
+ - name: PROFILE API
2179
+ description: Profile Creation Controller
2180
+ - name: Search Certificate API
2181
+ description: Search Certificate Controller
2182
+ - name: Seat Management API
2183
+ description: Seat Management Controller
2184
+ - name: User Management API
2185
+ description: User Management Controller