@aws-sdk/client-acm-pca 3.606.1 → 3.607.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.
- package/dist-cjs/index.js +5 -2
- package/dist-es/models/models_0.js +3 -0
- package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +3 -3
- package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +3 -3
- package/dist-types/commands/IssueCertificateCommand.d.ts +1 -1
- package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -276,7 +276,8 @@ var KeyAlgorithm = {
|
|
|
276
276
|
EC_prime256v1: "EC_prime256v1",
|
|
277
277
|
EC_secp384r1: "EC_secp384r1",
|
|
278
278
|
RSA_2048: "RSA_2048",
|
|
279
|
-
RSA_4096: "RSA_4096"
|
|
279
|
+
RSA_4096: "RSA_4096",
|
|
280
|
+
SM2: "SM2"
|
|
280
281
|
};
|
|
281
282
|
var SigningAlgorithm = {
|
|
282
283
|
SHA256WITHECDSA: "SHA256WITHECDSA",
|
|
@@ -284,13 +285,15 @@ var SigningAlgorithm = {
|
|
|
284
285
|
SHA384WITHECDSA: "SHA384WITHECDSA",
|
|
285
286
|
SHA384WITHRSA: "SHA384WITHRSA",
|
|
286
287
|
SHA512WITHECDSA: "SHA512WITHECDSA",
|
|
287
|
-
SHA512WITHRSA: "SHA512WITHRSA"
|
|
288
|
+
SHA512WITHRSA: "SHA512WITHRSA",
|
|
289
|
+
SM3WITHSM2: "SM3WITHSM2"
|
|
288
290
|
};
|
|
289
291
|
var CertificateAuthorityType = {
|
|
290
292
|
ROOT: "ROOT",
|
|
291
293
|
SUBORDINATE: "SUBORDINATE"
|
|
292
294
|
};
|
|
293
295
|
var KeyStorageSecurityStandard = {
|
|
296
|
+
CCPC_LEVEL_1_OR_HIGHER: "CCPC_LEVEL_1_OR_HIGHER",
|
|
294
297
|
FIPS_140_2_LEVEL_2_OR_HIGHER: "FIPS_140_2_LEVEL_2_OR_HIGHER",
|
|
295
298
|
FIPS_140_2_LEVEL_3_OR_HIGHER: "FIPS_140_2_LEVEL_3_OR_HIGHER"
|
|
296
299
|
};
|
|
@@ -9,6 +9,7 @@ export const KeyAlgorithm = {
|
|
|
9
9
|
EC_secp384r1: "EC_secp384r1",
|
|
10
10
|
RSA_2048: "RSA_2048",
|
|
11
11
|
RSA_4096: "RSA_4096",
|
|
12
|
+
SM2: "SM2",
|
|
12
13
|
};
|
|
13
14
|
export const SigningAlgorithm = {
|
|
14
15
|
SHA256WITHECDSA: "SHA256WITHECDSA",
|
|
@@ -17,12 +18,14 @@ export const SigningAlgorithm = {
|
|
|
17
18
|
SHA384WITHRSA: "SHA384WITHRSA",
|
|
18
19
|
SHA512WITHECDSA: "SHA512WITHECDSA",
|
|
19
20
|
SHA512WITHRSA: "SHA512WITHRSA",
|
|
21
|
+
SM3WITHSM2: "SM3WITHSM2",
|
|
20
22
|
};
|
|
21
23
|
export const CertificateAuthorityType = {
|
|
22
24
|
ROOT: "ROOT",
|
|
23
25
|
SUBORDINATE: "SUBORDINATE",
|
|
24
26
|
};
|
|
25
27
|
export const KeyStorageSecurityStandard = {
|
|
28
|
+
CCPC_LEVEL_1_OR_HIGHER: "CCPC_LEVEL_1_OR_HIGHER",
|
|
26
29
|
FIPS_140_2_LEVEL_2_OR_HIGHER: "FIPS_140_2_LEVEL_2_OR_HIGHER",
|
|
27
30
|
FIPS_140_2_LEVEL_3_OR_HIGHER: "FIPS_140_2_LEVEL_3_OR_HIGHER",
|
|
28
31
|
};
|
|
@@ -56,8 +56,8 @@ declare const CreateCertificateAuthorityCommand_base: {
|
|
|
56
56
|
* const client = new ACMPCAClient(config);
|
|
57
57
|
* const input = { // CreateCertificateAuthorityRequest
|
|
58
58
|
* CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
|
|
59
|
-
* KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1", // required
|
|
60
|
-
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA", // required
|
|
59
|
+
* KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "SM2", // required
|
|
60
|
+
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
|
|
61
61
|
* Subject: { // ASN1Subject
|
|
62
62
|
* Country: "STRING_VALUE",
|
|
63
63
|
* Organization: "STRING_VALUE",
|
|
@@ -157,7 +157,7 @@ declare const CreateCertificateAuthorityCommand_base: {
|
|
|
157
157
|
* },
|
|
158
158
|
* CertificateAuthorityType: "ROOT" || "SUBORDINATE", // required
|
|
159
159
|
* IdempotencyToken: "STRING_VALUE",
|
|
160
|
-
* KeyStorageSecurityStandard: "FIPS_140_2_LEVEL_2_OR_HIGHER" || "FIPS_140_2_LEVEL_3_OR_HIGHER",
|
|
160
|
+
* KeyStorageSecurityStandard: "FIPS_140_2_LEVEL_2_OR_HIGHER" || "FIPS_140_2_LEVEL_3_OR_HIGHER" || "CCPC_LEVEL_1_OR_HIGHER",
|
|
161
161
|
* Tags: [ // TagList
|
|
162
162
|
* { // Tag
|
|
163
163
|
* Key: "STRING_VALUE", // required
|
|
@@ -92,8 +92,8 @@ declare const DescribeCertificateAuthorityCommand_base: {
|
|
|
92
92
|
* // NotAfter: new Date("TIMESTAMP"),
|
|
93
93
|
* // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
|
|
94
94
|
* // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
|
|
95
|
-
* // KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1", // required
|
|
96
|
-
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA", // required
|
|
95
|
+
* // KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "SM2", // required
|
|
96
|
+
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
|
|
97
97
|
* // Subject: { // ASN1Subject
|
|
98
98
|
* // Country: "STRING_VALUE",
|
|
99
99
|
* // Organization: "STRING_VALUE",
|
|
@@ -192,7 +192,7 @@ declare const DescribeCertificateAuthorityCommand_base: {
|
|
|
192
192
|
* // },
|
|
193
193
|
* // },
|
|
194
194
|
* // RestorableUntil: new Date("TIMESTAMP"),
|
|
195
|
-
* // KeyStorageSecurityStandard: "FIPS_140_2_LEVEL_2_OR_HIGHER" || "FIPS_140_2_LEVEL_3_OR_HIGHER",
|
|
195
|
+
* // KeyStorageSecurityStandard: "FIPS_140_2_LEVEL_2_OR_HIGHER" || "FIPS_140_2_LEVEL_3_OR_HIGHER" || "CCPC_LEVEL_1_OR_HIGHER",
|
|
196
196
|
* // UsageMode: "GENERAL_PURPOSE" || "SHORT_LIVED_CERTIFICATE",
|
|
197
197
|
* // },
|
|
198
198
|
* // };
|
|
@@ -146,7 +146,7 @@ declare const IssueCertificateCommand_base: {
|
|
|
146
146
|
* },
|
|
147
147
|
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
148
148
|
* Csr: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
149
|
-
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA", // required
|
|
149
|
+
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
|
|
150
150
|
* TemplateArn: "STRING_VALUE",
|
|
151
151
|
* Validity: { // Validity
|
|
152
152
|
* Value: Number("long"), // required
|
|
@@ -55,8 +55,8 @@ declare const ListCertificateAuthoritiesCommand_base: {
|
|
|
55
55
|
* // NotAfter: new Date("TIMESTAMP"),
|
|
56
56
|
* // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
|
|
57
57
|
* // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
|
|
58
|
-
* // KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1", // required
|
|
59
|
-
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA", // required
|
|
58
|
+
* // KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "SM2", // required
|
|
59
|
+
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
|
|
60
60
|
* // Subject: { // ASN1Subject
|
|
61
61
|
* // Country: "STRING_VALUE",
|
|
62
62
|
* // Organization: "STRING_VALUE",
|
|
@@ -155,7 +155,7 @@ declare const ListCertificateAuthoritiesCommand_base: {
|
|
|
155
155
|
* // },
|
|
156
156
|
* // },
|
|
157
157
|
* // RestorableUntil: new Date("TIMESTAMP"),
|
|
158
|
-
* // KeyStorageSecurityStandard: "FIPS_140_2_LEVEL_2_OR_HIGHER" || "FIPS_140_2_LEVEL_3_OR_HIGHER",
|
|
158
|
+
* // KeyStorageSecurityStandard: "FIPS_140_2_LEVEL_2_OR_HIGHER" || "FIPS_140_2_LEVEL_3_OR_HIGHER" || "CCPC_LEVEL_1_OR_HIGHER",
|
|
159
159
|
* // UsageMode: "GENERAL_PURPOSE" || "SHORT_LIVED_CERTIFICATE",
|
|
160
160
|
* // },
|
|
161
161
|
* // ],
|
|
@@ -344,6 +344,7 @@ export declare const KeyAlgorithm: {
|
|
|
344
344
|
readonly EC_secp384r1: "EC_secp384r1";
|
|
345
345
|
readonly RSA_2048: "RSA_2048";
|
|
346
346
|
readonly RSA_4096: "RSA_4096";
|
|
347
|
+
readonly SM2: "SM2";
|
|
347
348
|
};
|
|
348
349
|
/**
|
|
349
350
|
* @public
|
|
@@ -360,6 +361,7 @@ export declare const SigningAlgorithm: {
|
|
|
360
361
|
readonly SHA384WITHRSA: "SHA384WITHRSA";
|
|
361
362
|
readonly SHA512WITHECDSA: "SHA512WITHECDSA";
|
|
362
363
|
readonly SHA512WITHRSA: "SHA512WITHRSA";
|
|
364
|
+
readonly SM3WITHSM2: "SM3WITHSM2";
|
|
363
365
|
};
|
|
364
366
|
/**
|
|
365
367
|
* @public
|
|
@@ -418,6 +420,7 @@ export type CertificateAuthorityType = (typeof CertificateAuthorityType)[keyof t
|
|
|
418
420
|
* @enum
|
|
419
421
|
*/
|
|
420
422
|
export declare const KeyStorageSecurityStandard: {
|
|
423
|
+
readonly CCPC_LEVEL_1_OR_HIGHER: "CCPC_LEVEL_1_OR_HIGHER";
|
|
421
424
|
readonly FIPS_140_2_LEVEL_2_OR_HIGHER: "FIPS_140_2_LEVEL_2_OR_HIGHER";
|
|
422
425
|
readonly FIPS_140_2_LEVEL_3_OR_HIGHER: "FIPS_140_2_LEVEL_3_OR_HIGHER";
|
|
423
426
|
};
|
|
@@ -74,6 +74,7 @@ export declare const KeyAlgorithm: {
|
|
|
74
74
|
readonly EC_secp384r1: "EC_secp384r1";
|
|
75
75
|
readonly RSA_2048: "RSA_2048";
|
|
76
76
|
readonly RSA_4096: "RSA_4096";
|
|
77
|
+
readonly SM2: "SM2";
|
|
77
78
|
};
|
|
78
79
|
export type KeyAlgorithm = (typeof KeyAlgorithm)[keyof typeof KeyAlgorithm];
|
|
79
80
|
export declare const SigningAlgorithm: {
|
|
@@ -83,6 +84,7 @@ export declare const SigningAlgorithm: {
|
|
|
83
84
|
readonly SHA384WITHRSA: "SHA384WITHRSA";
|
|
84
85
|
readonly SHA512WITHECDSA: "SHA512WITHECDSA";
|
|
85
86
|
readonly SHA512WITHRSA: "SHA512WITHRSA";
|
|
87
|
+
readonly SM3WITHSM2: "SM3WITHSM2";
|
|
86
88
|
};
|
|
87
89
|
export type SigningAlgorithm =
|
|
88
90
|
(typeof SigningAlgorithm)[keyof typeof SigningAlgorithm];
|
|
@@ -99,6 +101,7 @@ export declare const CertificateAuthorityType: {
|
|
|
99
101
|
export type CertificateAuthorityType =
|
|
100
102
|
(typeof CertificateAuthorityType)[keyof typeof CertificateAuthorityType];
|
|
101
103
|
export declare const KeyStorageSecurityStandard: {
|
|
104
|
+
readonly CCPC_LEVEL_1_OR_HIGHER: "CCPC_LEVEL_1_OR_HIGHER";
|
|
102
105
|
readonly FIPS_140_2_LEVEL_2_OR_HIGHER: "FIPS_140_2_LEVEL_2_OR_HIGHER";
|
|
103
106
|
readonly FIPS_140_2_LEVEL_3_OR_HIGHER: "FIPS_140_2_LEVEL_3_OR_HIGHER";
|
|
104
107
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm-pca",
|
|
3
3
|
"description": "AWS SDK for JavaScript Acm Pca Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.607.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-acm-pca",
|