@itentialopensource/adapter-digicert_pki 0.1.1 → 1.1.0

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 (125) hide show
  1. package/.eslintignore +0 -1
  2. package/.jshintrc +3 -0
  3. package/CALLS.md +957 -3
  4. package/CHANGELOG.md +16 -1
  5. package/CONTRIBUTING.md +1 -160
  6. package/ENHANCE.md +2 -2
  7. package/README.md +31 -22
  8. package/adapter.js +13682 -334
  9. package/adapterBase.js +538 -873
  10. package/changelogs/changelog.md +16 -0
  11. package/entities/ACME/action.json +166 -0
  12. package/entities/ACME/mockdatafiles/createAcmeAuthentication-default.json +21 -0
  13. package/entities/ACME/mockdatafiles/getAcmeAuthentication-default.json +21 -0
  14. package/entities/ACME/mockdatafiles/listAcmeAuthentication-default.json +41 -0
  15. package/entities/ACME/mockdatafiles/updateAcmeAuthentication-default.json +21 -0
  16. package/entities/ACME/schema.json +125 -0
  17. package/entities/AuthenticationCACertificates/action.json +107 -0
  18. package/entities/AuthenticationCACertificates/schema.json +155 -0
  19. package/entities/AuthenticationCATemplates/action.json +187 -0
  20. package/entities/AuthenticationCATemplates/mockdatafiles/createAuthenticationCATemplate-default.json +33 -0
  21. package/entities/AuthenticationCATemplates/mockdatafiles/getAuthenticationCATemplate-default.json +33 -0
  22. package/entities/AuthenticationCATemplates/mockdatafiles/updateAuthenticationCATemplate-default.json +33 -0
  23. package/entities/AuthenticationCATemplates/schema.json +137 -0
  24. package/entities/AuthenticationCertificates/action.json +166 -0
  25. package/entities/AuthenticationCertificates/mockdatafiles/addAuthenticationCertificate-default.json +48 -0
  26. package/entities/AuthenticationCertificates/mockdatafiles/getAuthenticationCertificateDetails-default.json +49 -0
  27. package/entities/AuthenticationCertificates/mockdatafiles/listAuthenticationCertificates-default.json +93 -0
  28. package/entities/AuthenticationCertificates/mockdatafiles/updateAuthenticationCertificate-default.json +48 -0
  29. package/entities/AuthenticationCertificates/schema.json +202 -0
  30. package/entities/BatchCertificateEnrollment/action.json +268 -0
  31. package/entities/BatchCertificateEnrollment/mockdatafiles/batchCSREnroll-default.json +22 -0
  32. package/entities/BatchCertificateEnrollment/mockdatafiles/batchEnrollWithKeyGen-default.json +22 -0
  33. package/entities/BatchCertificateEnrollment/mockdatafiles/batchEnrollWithKeyGenMac-default.json +22 -0
  34. package/entities/BatchCertificateEnrollment/mockdatafiles/downloadCertificates-default.json +18 -0
  35. package/entities/BatchCertificateEnrollment/mockdatafiles/getBatchJobSettings-default.json +22 -0
  36. package/entities/BatchCertificateEnrollment/mockdatafiles/regenerateBatchJobPasscode-default.json +22 -0
  37. package/entities/BatchCertificateEnrollment/mockdatafiles/updateBatchJobSettings-default.json +22 -0
  38. package/entities/BatchCertificateEnrollment/schema.json +284 -0
  39. package/entities/CertificateProfiles/action.json +206 -0
  40. package/entities/CertificateProfiles/mockdatafiles/listCertificateProfiles-default.json +219 -0
  41. package/entities/CertificateProfiles/schema.json +116 -0
  42. package/entities/CertificateRequests/action.json +25 -0
  43. package/entities/CertificateRequests/mockdatafiles/getRequestStatus-default.json +5 -0
  44. package/entities/CertificateRequests/schema.json +30 -0
  45. package/entities/CertificateTemplates/action.json +186 -0
  46. package/entities/CertificateTemplates/schema.json +104 -0
  47. package/entities/Certificates/action.json +312 -0
  48. package/entities/Certificates/mockdatafiles/downloadApprovedCertificate-default.json +47 -0
  49. package/entities/Certificates/mockdatafiles/renewBySerial-default.json +23 -0
  50. package/entities/Certificates/mockdatafiles/renewCertificate-default.json +31 -0
  51. package/entities/Certificates/schema.json +462 -0
  52. package/entities/DeviceProfiles/action.json +126 -0
  53. package/entities/DeviceProfiles/mockdatafiles/createDeviceProfile-default.json +28 -0
  54. package/entities/DeviceProfiles/mockdatafiles/getDeviceProfile-default.json +28 -0
  55. package/entities/DeviceProfiles/mockdatafiles/listdeviceprofiles-default.json +53 -0
  56. package/entities/DeviceProfiles/mockdatafiles/updateDeviceProfile-default.json +28 -0
  57. package/entities/DeviceProfiles/schema.json +57 -0
  58. package/entities/Devices/action.json +166 -0
  59. package/entities/Devices/mockdatafiles/archiveDevice-default.json +33 -0
  60. package/entities/Devices/mockdatafiles/disableDevice-default.json +33 -0
  61. package/entities/Devices/mockdatafiles/enableDevice-default.json +33 -0
  62. package/entities/Devices/mockdatafiles/restoreDevice-default.json +33 -0
  63. package/entities/Devices/schema.json +103 -0
  64. package/entities/DevicesV2/action.json +186 -0
  65. package/entities/DevicesV2/mockdatafiles/archiveDeviceV2-default.json +33 -0
  66. package/entities/DevicesV2/mockdatafiles/disableDeviceV2-default.json +33 -0
  67. package/entities/DevicesV2/mockdatafiles/enableDeviceV2-default.json +33 -0
  68. package/entities/DevicesV2/mockdatafiles/restoreDeviceV2-default.json +33 -0
  69. package/entities/DevicesV2/schema.json +115 -0
  70. package/entities/Divisions/action.json +288 -0
  71. package/entities/Divisions/schema.json +164 -0
  72. package/entities/EnrollmentProfilePasscodes/action.json +186 -0
  73. package/entities/EnrollmentProfilePasscodes/schema.json +181 -0
  74. package/entities/EnrollmentProfiles/action.json +191 -0
  75. package/entities/EnrollmentProfiles/mockdatafiles/getEnrollmentProfile-default.json +153 -0
  76. package/entities/EnrollmentProfiles/mockdatafiles/getEnrollmentProfileSpecification-default.json +125 -0
  77. package/entities/EnrollmentProfiles/mockdatafiles/updateEnrollmentProfile-default.json +117 -0
  78. package/entities/EnrollmentProfiles/schema.json +148 -0
  79. package/entities/ExternalBatchCertificateEnrollment/action.json +150 -0
  80. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/batchEnrollExternal-default.json +16 -0
  81. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByCertificateValue-default.json +154 -0
  82. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByCommonName-default.json +150 -0
  83. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndCertificateValue-default.json +36 -0
  84. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndCommonName-default.json +130 -0
  85. package/entities/ExternalBatchCertificateEnrollment/mockdatafiles/downloadByJobIdAndUniqueId-default.json +42 -0
  86. package/entities/ExternalBatchCertificateEnrollment/schema.json +102 -0
  87. package/entities/Gateways/action.json +187 -0
  88. package/entities/Gateways/schema.json +126 -0
  89. package/entities/ICAs/action.json +46 -0
  90. package/entities/ICAs/schema.json +163 -0
  91. package/entities/OCSPGroups/action.json +167 -0
  92. package/entities/OCSPGroups/schema.json +466 -0
  93. package/metadata.json +49 -0
  94. package/package.json +22 -25
  95. package/pronghorn.json +23155 -266
  96. package/propertiesSchema.json +455 -42
  97. package/refs?service=git-upload-pack +0 -0
  98. package/report/adapter-openapi.json +3224 -0
  99. package/report/adapter-openapi.yaml +2185 -0
  100. package/report/adapterInfo.json +8 -8
  101. package/report/updateReport1691508686598.json +120 -0
  102. package/report/updateReport1692203137726.json +120 -0
  103. package/report/updateReport1694467869659.json +120 -0
  104. package/report/updateReport1698422457936.json +120 -0
  105. package/sampleProperties.json +67 -6
  106. package/test/integration/adapterTestBasicGet.js +1 -1
  107. package/test/integration/adapterTestConnectivity.js +91 -42
  108. package/test/integration/adapterTestIntegration.js +4704 -32
  109. package/test/unit/adapterBaseTestUnit.js +388 -313
  110. package/test/unit/adapterTestUnit.js +5211 -148
  111. package/utils/adapterInfo.js +1 -1
  112. package/utils/addAuth.js +1 -1
  113. package/utils/artifactize.js +1 -1
  114. package/utils/checkMigrate.js +1 -1
  115. package/utils/entitiesToDB.js +1 -0
  116. package/utils/findPath.js +1 -1
  117. package/utils/methodDocumentor.js +71 -23
  118. package/utils/modify.js +13 -15
  119. package/utils/packModificationScript.js +1 -1
  120. package/utils/taskMover.js +309 -0
  121. package/utils/tbScript.js +3 -10
  122. package/utils/tbUtils.js +2 -3
  123. package/utils/testRunner.js +1 -1
  124. package/utils/troubleshootingAdapter.js +1 -3
  125. package/workflows/README.md +0 -3
@@ -0,0 +1,117 @@
1
+ {
2
+ "name": "Example name",
3
+ "enrollment_methods": [
4
+ "API",
5
+ "PORTAL"
6
+ ],
7
+ "allowed_ip_addresses": [
8
+ "1.1.1.1",
9
+ "2.2.2.2"
10
+ ],
11
+ "allowed_hours_from": "09:45:00",
12
+ "allowed_hours_to": "17:30:00",
13
+ "timezone": "America/New_York",
14
+ "valid_from": "2021-06-25",
15
+ "expires_on": "2022-06-25",
16
+ "key_generation_allow_to_change": true,
17
+ "key_generation_option": null,
18
+ "key_generation_type": null,
19
+ "allow_key_cache": true,
20
+ "key_cache_validity_period_type": null,
21
+ "key_cache_validity_period": "string",
22
+ "require_approval_for_enroll": true,
23
+ "require_approval_for_renew": true,
24
+ "digest_email_notification_period": null,
25
+ "approvers": [
26
+ {
27
+ "id": "4db36e5c-4bb8-4a41-a941-1b31a82529bd",
28
+ "full_name": "John Doe",
29
+ "email": "john.doe@example.com",
30
+ "active": true,
31
+ "user_type": null,
32
+ "locale": null
33
+ },
34
+ {
35
+ "id": "4db36e5c-4bb8-4a41-a941-1b31a82529bd",
36
+ "full_name": "John Doe",
37
+ "email": "john.doe@example.com",
38
+ "active": true,
39
+ "user_type": null,
40
+ "locale": null
41
+ },
42
+ {
43
+ "id": "4db36e5c-4bb8-4a41-a941-1b31a82529bd",
44
+ "full_name": "John Doe",
45
+ "email": "john.doe@example.com",
46
+ "active": true,
47
+ "user_type": null,
48
+ "locale": null
49
+ }
50
+ ],
51
+ "notification_email_list": [
52
+ "string",
53
+ "string",
54
+ "string",
55
+ "string",
56
+ "string",
57
+ "string",
58
+ "string",
59
+ "string"
60
+ ],
61
+ "id": "IOT_502ac648-c826-4e71-991e-5629a23850c1",
62
+ "connector_url": "https://one.digicert.com",
63
+ "connector_type": null,
64
+ "passcode": "passcode",
65
+ "api_key": "<api_token>",
66
+ "auth_cert_pkcs12": "<auth_cert_pkcs12>",
67
+ "auth_cert_password_pkcs12": "passcode",
68
+ "external_enrollment_profile_id": "string",
69
+ "device_profile": {
70
+ "id": "f5218cc5-fd11-47ac-bff8-0058f8e2d0ed",
71
+ "name": "Device profile name"
72
+ },
73
+ "certificate_profile": {
74
+ "id": "880daffe-e70f-4eb3-bfd5-673419cef80b",
75
+ "name": "Certificate profile name"
76
+ },
77
+ "created_at": "2021-06-09T13:49:54Z",
78
+ "ica": {
79
+ "id": "AAC2E2DD6BEAE2E5EE93954BAE15E34D",
80
+ "name": "ICA Name"
81
+ },
82
+ "status": null,
83
+ "allowed_signature_algorithms": [
84
+ "sha1WithRSA",
85
+ "sha256WithRSA",
86
+ "sha384WithRSA",
87
+ "sha512WithRSA"
88
+ ],
89
+ "direct_mapping": true,
90
+ "account_id": "742a7efb-0cf1-499d-abd5-abb87f42aa5f",
91
+ "ca_body": "<certificate_data>",
92
+ "gp_ca_body": "<certificate_data>",
93
+ "ca_chain": [
94
+ {
95
+ "cert_type": null,
96
+ "blob": "<certificate_data>"
97
+ },
98
+ {
99
+ "cert_type": null,
100
+ "blob": "<certificate_data>"
101
+ }
102
+ ],
103
+ "gp_ca_chain": [
104
+ {
105
+ "cert_type": null,
106
+ "blob": "<certificate_data>"
107
+ },
108
+ {
109
+ "cert_type": null,
110
+ "blob": "<certificate_data>"
111
+ }
112
+ ],
113
+ "certificate_template": {
114
+ "id": "ebe32558-6485-4810-938b-56882daed038",
115
+ "name": "Certificate Template Name"
116
+ }
117
+ }
@@ -0,0 +1,148 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "",
12
+ "enum": [
13
+ "listEnrollmentProfiles",
14
+ "createEnrollmentProfile",
15
+ "getExampleCertificateRequestEnrollmentProfileID",
16
+ "getEnrollmentProfile",
17
+ "updateEnrollmentProfile",
18
+ "listAssignableICAs",
19
+ "getIssuingICA",
20
+ "getEnrollmentProfileSpecification",
21
+ "getEnrollmentProfileStatus"
22
+ ],
23
+ "external_name": "ph_request_type"
24
+ },
25
+ "deviceProfileId": {
26
+ "type": "string",
27
+ "description": "Limits results to enrollment profiles with a device profile ID that is an exact match for the given string. Case-insensitive.",
28
+ "parse": false,
29
+ "encode": false,
30
+ "encrypt": {
31
+ "type": "AES",
32
+ "key": ""
33
+ },
34
+ "external_name": "device_profile_id"
35
+ },
36
+ "deviceProfileName": {
37
+ "type": "string",
38
+ "description": "Limits results to enrollment profiles with a device profile name that starts with the given string. Case-insensitive.",
39
+ "parse": false,
40
+ "encode": false,
41
+ "encrypt": {
42
+ "type": "AES",
43
+ "key": ""
44
+ },
45
+ "external_name": "device_profile_name"
46
+ },
47
+ "enrollmentMethods": {
48
+ "type": "",
49
+ "description": "Limits results to enrollment profiles that use any of the enrollment methods from the given comma-separated list. Case-insensitive.",
50
+ "parse": false,
51
+ "encode": false,
52
+ "encrypt": {
53
+ "type": "AES",
54
+ "key": ""
55
+ },
56
+ "external_name": "enrollment_methods"
57
+ },
58
+ "ipAddresses": {
59
+ "type": "string",
60
+ "description": "Limits results to enrollment profiles that allow requests from all IP addresses in the given comma-separated list.",
61
+ "parse": false,
62
+ "encode": false,
63
+ "encrypt": {
64
+ "type": "AES",
65
+ "key": ""
66
+ },
67
+ "external_name": "ip_addresses"
68
+ },
69
+ "createdFrom": {
70
+ "type": "string",
71
+ "description": "Limits results to enrollment profiles created after the given date. Format: `YYYY-MM-DD`",
72
+ "parse": false,
73
+ "encode": false,
74
+ "encrypt": {
75
+ "type": "AES",
76
+ "key": ""
77
+ },
78
+ "external_name": "created_from"
79
+ },
80
+ "createdTo": {
81
+ "type": "string",
82
+ "description": "Limits results to enrollment profiles created before the given date. Format: `YYYY-MM-DD`",
83
+ "parse": false,
84
+ "encode": false,
85
+ "encrypt": {
86
+ "type": "AES",
87
+ "key": ""
88
+ },
89
+ "external_name": "created_to"
90
+ },
91
+ "certificateType": {
92
+ "type": "",
93
+ "description": "Limits results to enrollment profiles for the given certificate type (end-entity or intermediate). Case-insensitive.",
94
+ "parse": false,
95
+ "encode": false,
96
+ "encrypt": {
97
+ "type": "AES",
98
+ "key": ""
99
+ },
100
+ "external_name": "certificate_type"
101
+ },
102
+ "sortBy": {
103
+ "type": "",
104
+ "description": "Sorts results by the given property. Case-insensitive.",
105
+ "parse": false,
106
+ "encode": false,
107
+ "encrypt": {
108
+ "type": "AES",
109
+ "key": ""
110
+ },
111
+ "external_name": "sort_by"
112
+ },
113
+ "sortDirection": {
114
+ "type": "",
115
+ "description": "Sorts results in ascending or descending order by the value of the `sort_by` property. Case-insensitive.",
116
+ "parse": false,
117
+ "encode": false,
118
+ "encrypt": {
119
+ "type": "AES",
120
+ "key": ""
121
+ },
122
+ "external_name": "sort_direction"
123
+ },
124
+ "enrollmentProfileId": {
125
+ "type": "string",
126
+ "description": "Enrollment profile ID.",
127
+ "parse": false,
128
+ "encode": false,
129
+ "encrypt": {
130
+ "type": "AES",
131
+ "key": ""
132
+ },
133
+ "external_name": "enrollment_profile_id"
134
+ },
135
+ "includeChain": {
136
+ "type": "boolean",
137
+ "description": "If true, response includes the full certificate chain (ICAs and root certificate) for the enrollment profile&#39;s issuing ICA. If false (default), response only includes the...(description truncated)",
138
+ "parse": false,
139
+ "encode": false,
140
+ "encrypt": {
141
+ "type": "AES",
142
+ "key": ""
143
+ },
144
+ "external_name": "include_chain"
145
+ }
146
+ },
147
+ "definitions": {}
148
+ }
@@ -0,0 +1,150 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "batchEnrollExternal",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/api/v1/enrollment-profile/{pathv1}/external-batch-enroll?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "FORM",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": "mockdatafiles/batchEnrollExternal-default.json"
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "downloadMapping",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/api/v1/batch-enroll/{pathv1}/download-mapping?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "sendGetBody": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "downloadByJobIdAndUniqueId",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/api/v1/certificate-download/job/{pathv1}/unique-identifier/{pathv2}/format/{pathv3}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": "mockdatafiles/downloadByJobIdAndUniqueId-default.json"
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "downloadByCommonName",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/api/v1/certificate-download/common-name/{pathv1}/format/{pathv2}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "sendGetBody": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": "mockdatafiles/downloadByCommonName-default.json"
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "downloadByJobIdAndCommonName",
88
+ "protocol": "REST",
89
+ "method": "GET",
90
+ "entitypath": "{base_path}/{version}/api/v1/certificate-download/job/{pathv1}/common-name/{pathv2}/format/{pathv3}?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "sendGetBody": false,
96
+ "requestDatatype": "JSON",
97
+ "responseDatatype": "JSON",
98
+ "headers": {},
99
+ "responseObjects": [
100
+ {
101
+ "type": "default",
102
+ "key": "",
103
+ "mockFile": "mockdatafiles/downloadByJobIdAndCommonName-default.json"
104
+ }
105
+ ]
106
+ },
107
+ {
108
+ "name": "downloadByCertificateValue",
109
+ "protocol": "REST",
110
+ "method": "GET",
111
+ "entitypath": "{base_path}/{version}/api/v1/certificate-download/certificate-value/{pathv1}/format/{pathv2}?{query}",
112
+ "requestSchema": "schema.json",
113
+ "responseSchema": "schema.json",
114
+ "timeout": 0,
115
+ "sendEmpty": false,
116
+ "sendGetBody": false,
117
+ "requestDatatype": "JSON",
118
+ "responseDatatype": "JSON",
119
+ "headers": {},
120
+ "responseObjects": [
121
+ {
122
+ "type": "default",
123
+ "key": "",
124
+ "mockFile": "mockdatafiles/downloadByCertificateValue-default.json"
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "name": "downloadByJobIdAndCertificateValue",
130
+ "protocol": "REST",
131
+ "method": "GET",
132
+ "entitypath": "{base_path}/{version}/api/v1/certificate-download/job/{pathv1}/certificate-value/{pathv2}/format/{pathv3}?{query}",
133
+ "requestSchema": "schema.json",
134
+ "responseSchema": "schema.json",
135
+ "timeout": 0,
136
+ "sendEmpty": false,
137
+ "sendGetBody": false,
138
+ "requestDatatype": "JSON",
139
+ "responseDatatype": "JSON",
140
+ "headers": {},
141
+ "responseObjects": [
142
+ {
143
+ "type": "default",
144
+ "key": "",
145
+ "mockFile": "mockdatafiles/downloadByJobIdAndCertificateValue-default.json"
146
+ }
147
+ ]
148
+ }
149
+ ]
150
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "id": "a7cdd1ac-8e64-417e-80d7-c5c2d8bab0aa",
3
+ "name": "Example batch job",
4
+ "status": null,
5
+ "total_items": 10,
6
+ "failed_items": 3,
7
+ "processing_time": 9,
8
+ "job_type": null,
9
+ "requested_by_name": "example.admin",
10
+ "passcode_generation_option": null,
11
+ "description": "Example description.",
12
+ "emails": [
13
+ "bob@example.com",
14
+ "alice@example.com"
15
+ ]
16
+ }
@@ -0,0 +1,154 @@
1
+ [
2
+ {
3
+ "certificate_id": "b5db525b-fff8-44de-abab-fd4e8b68f2c5",
4
+ "format": null,
5
+ "certificate": "string",
6
+ "private_key": "string",
7
+ "chain": [
8
+ {
9
+ "cert_type": null,
10
+ "blob": "string"
11
+ },
12
+ {
13
+ "cert_type": null,
14
+ "blob": "string"
15
+ },
16
+ {
17
+ "cert_type": null,
18
+ "blob": "string"
19
+ },
20
+ {
21
+ "cert_type": null,
22
+ "blob": "string"
23
+ },
24
+ {
25
+ "cert_type": null,
26
+ "blob": "string"
27
+ },
28
+ {
29
+ "cert_type": null,
30
+ "blob": "string"
31
+ },
32
+ {
33
+ "cert_type": null,
34
+ "blob": "string"
35
+ },
36
+ {
37
+ "cert_type": null,
38
+ "blob": "string"
39
+ }
40
+ ],
41
+ "pkcs12": "string",
42
+ "pkcs12_password": "string"
43
+ },
44
+ {
45
+ "certificate_id": "b5db525b-fff8-44de-abab-fd4e8b68f2c5",
46
+ "format": null,
47
+ "certificate": "string",
48
+ "private_key": "string",
49
+ "chain": [
50
+ {
51
+ "cert_type": null,
52
+ "blob": "string"
53
+ },
54
+ {
55
+ "cert_type": null,
56
+ "blob": "string"
57
+ },
58
+ {
59
+ "cert_type": null,
60
+ "blob": "string"
61
+ },
62
+ {
63
+ "cert_type": null,
64
+ "blob": "string"
65
+ },
66
+ {
67
+ "cert_type": null,
68
+ "blob": "string"
69
+ }
70
+ ],
71
+ "pkcs12": "string",
72
+ "pkcs12_password": "string"
73
+ },
74
+ {
75
+ "certificate_id": "b5db525b-fff8-44de-abab-fd4e8b68f2c5",
76
+ "format": null,
77
+ "certificate": "string",
78
+ "private_key": "string",
79
+ "chain": [
80
+ {
81
+ "cert_type": null,
82
+ "blob": "string"
83
+ },
84
+ {
85
+ "cert_type": null,
86
+ "blob": "string"
87
+ },
88
+ {
89
+ "cert_type": null,
90
+ "blob": "string"
91
+ },
92
+ {
93
+ "cert_type": null,
94
+ "blob": "string"
95
+ },
96
+ {
97
+ "cert_type": null,
98
+ "blob": "string"
99
+ }
100
+ ],
101
+ "pkcs12": "string",
102
+ "pkcs12_password": "string"
103
+ },
104
+ {
105
+ "certificate_id": "b5db525b-fff8-44de-abab-fd4e8b68f2c5",
106
+ "format": null,
107
+ "certificate": "string",
108
+ "private_key": "string",
109
+ "chain": [
110
+ {
111
+ "cert_type": null,
112
+ "blob": "string"
113
+ },
114
+ {
115
+ "cert_type": null,
116
+ "blob": "string"
117
+ },
118
+ {
119
+ "cert_type": null,
120
+ "blob": "string"
121
+ },
122
+ {
123
+ "cert_type": null,
124
+ "blob": "string"
125
+ },
126
+ {
127
+ "cert_type": null,
128
+ "blob": "string"
129
+ },
130
+ {
131
+ "cert_type": null,
132
+ "blob": "string"
133
+ },
134
+ {
135
+ "cert_type": null,
136
+ "blob": "string"
137
+ },
138
+ {
139
+ "cert_type": null,
140
+ "blob": "string"
141
+ },
142
+ {
143
+ "cert_type": null,
144
+ "blob": "string"
145
+ },
146
+ {
147
+ "cert_type": null,
148
+ "blob": "string"
149
+ }
150
+ ],
151
+ "pkcs12": "string",
152
+ "pkcs12_password": "string"
153
+ }
154
+ ]