@aws-sdk/client-acm-pca 3.1103.0 → 3.1105.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 +4 -1
- package/dist-es/models/enums.js +3 -0
- package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +1 -1
- package/dist-types/commands/IssueCertificateCommand.d.ts +1 -1
- package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +5 -5
- package/dist-types/ts3.4/models/enums.d.ts +3 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1104.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -1495,10 +1495,13 @@ const SigningAlgorithm = {
|
|
|
1495
1495
|
ML_DSA_87: "ML_DSA_87",
|
|
1496
1496
|
SHA256WITHECDSA: "SHA256WITHECDSA",
|
|
1497
1497
|
SHA256WITHRSA: "SHA256WITHRSA",
|
|
1498
|
+
SHA256WITHRSA_PSS: "SHA256WITHRSA_PSS",
|
|
1498
1499
|
SHA384WITHECDSA: "SHA384WITHECDSA",
|
|
1499
1500
|
SHA384WITHRSA: "SHA384WITHRSA",
|
|
1501
|
+
SHA384WITHRSA_PSS: "SHA384WITHRSA_PSS",
|
|
1500
1502
|
SHA512WITHECDSA: "SHA512WITHECDSA",
|
|
1501
1503
|
SHA512WITHRSA: "SHA512WITHRSA",
|
|
1504
|
+
SHA512WITHRSA_PSS: "SHA512WITHRSA_PSS",
|
|
1502
1505
|
SM3WITHSM2: "SM3WITHSM2",
|
|
1503
1506
|
};
|
|
1504
1507
|
const CertificateAuthorityType = {
|
package/dist-es/models/enums.js
CHANGED
|
@@ -21,10 +21,13 @@ export const SigningAlgorithm = {
|
|
|
21
21
|
ML_DSA_87: "ML_DSA_87",
|
|
22
22
|
SHA256WITHECDSA: "SHA256WITHECDSA",
|
|
23
23
|
SHA256WITHRSA: "SHA256WITHRSA",
|
|
24
|
+
SHA256WITHRSA_PSS: "SHA256WITHRSA_PSS",
|
|
24
25
|
SHA384WITHECDSA: "SHA384WITHECDSA",
|
|
25
26
|
SHA384WITHRSA: "SHA384WITHRSA",
|
|
27
|
+
SHA384WITHRSA_PSS: "SHA384WITHRSA_PSS",
|
|
26
28
|
SHA512WITHECDSA: "SHA512WITHECDSA",
|
|
27
29
|
SHA512WITHRSA: "SHA512WITHRSA",
|
|
30
|
+
SHA512WITHRSA_PSS: "SHA512WITHRSA_PSS",
|
|
28
31
|
SM3WITHSM2: "SM3WITHSM2",
|
|
29
32
|
};
|
|
30
33
|
export const CertificateAuthorityType = {
|
|
@@ -36,7 +36,7 @@ declare const CreateCertificateAuthorityCommand_base: {
|
|
|
36
36
|
* const input = { // CreateCertificateAuthorityRequest
|
|
37
37
|
* CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
|
|
38
38
|
* KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87" || "SM2", // required
|
|
39
|
-
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
|
|
39
|
+
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SHA256WITHRSA_PSS" || "SHA384WITHRSA_PSS" || "SHA512WITHRSA_PSS" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
|
|
40
40
|
* Subject: { // ASN1Subject
|
|
41
41
|
* Country: "STRING_VALUE",
|
|
42
42
|
* Organization: "STRING_VALUE",
|
|
@@ -52,7 +52,7 @@ declare const DescribeCertificateAuthorityCommand_base: {
|
|
|
52
52
|
* // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
|
|
53
53
|
* // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
|
|
54
54
|
* // KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87" || "SM2", // required
|
|
55
|
-
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
|
|
55
|
+
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SHA256WITHRSA_PSS" || "SHA384WITHRSA_PSS" || "SHA512WITHRSA_PSS" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
|
|
56
56
|
* // Subject: { // ASN1Subject
|
|
57
57
|
* // Country: "STRING_VALUE",
|
|
58
58
|
* // Organization: "STRING_VALUE",
|
|
@@ -138,7 +138,7 @@ declare const IssueCertificateCommand_base: {
|
|
|
138
138
|
* },
|
|
139
139
|
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
140
140
|
* Csr: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
141
|
-
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
|
|
141
|
+
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SHA256WITHRSA_PSS" || "SHA384WITHRSA_PSS" || "SHA512WITHRSA_PSS" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
|
|
142
142
|
* TemplateArn: "STRING_VALUE",
|
|
143
143
|
* Validity: { // Validity
|
|
144
144
|
* Value: Number("long"), // required
|
|
@@ -56,7 +56,7 @@ declare const ListCertificateAuthoritiesCommand_base: {
|
|
|
56
56
|
* // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
|
|
57
57
|
* // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
|
|
58
58
|
* // KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87" || "SM2", // required
|
|
59
|
-
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
|
|
59
|
+
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SHA256WITHRSA_PSS" || "SHA384WITHRSA_PSS" || "SHA512WITHRSA_PSS" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
|
|
60
60
|
* // Subject: { // ASN1Subject
|
|
61
61
|
* // Country: "STRING_VALUE",
|
|
62
62
|
* // Organization: "STRING_VALUE",
|
|
@@ -41,10 +41,13 @@ export declare const SigningAlgorithm: {
|
|
|
41
41
|
readonly ML_DSA_87: "ML_DSA_87";
|
|
42
42
|
readonly SHA256WITHECDSA: "SHA256WITHECDSA";
|
|
43
43
|
readonly SHA256WITHRSA: "SHA256WITHRSA";
|
|
44
|
+
readonly SHA256WITHRSA_PSS: "SHA256WITHRSA_PSS";
|
|
44
45
|
readonly SHA384WITHECDSA: "SHA384WITHECDSA";
|
|
45
46
|
readonly SHA384WITHRSA: "SHA384WITHRSA";
|
|
47
|
+
readonly SHA384WITHRSA_PSS: "SHA384WITHRSA_PSS";
|
|
46
48
|
readonly SHA512WITHECDSA: "SHA512WITHECDSA";
|
|
47
49
|
readonly SHA512WITHRSA: "SHA512WITHRSA";
|
|
50
|
+
readonly SHA512WITHRSA_PSS: "SHA512WITHRSA_PSS";
|
|
48
51
|
readonly SM3WITHSM2: "SM3WITHSM2";
|
|
49
52
|
};
|
|
50
53
|
/**
|
|
@@ -284,7 +284,7 @@ export interface CertificateAuthorityConfiguration {
|
|
|
284
284
|
*/
|
|
285
285
|
KeyAlgorithm: KeyAlgorithm | undefined;
|
|
286
286
|
/**
|
|
287
|
-
* <p>Name of the algorithm your private CA uses to sign certificate requests.</p> <p>This parameter should not be confused with the <code>SigningAlgorithm</code> parameter used to sign certificates when they are issued.</p>
|
|
287
|
+
* <p>Name of the algorithm your private CA uses to sign certificate requests.</p> <p>This parameter should not be confused with the <code>SigningAlgorithm</code> parameter of the <code>IssueCertificate</code> API action, which is used to sign certificates when they are issued.</p>
|
|
288
288
|
* @public
|
|
289
289
|
*/
|
|
290
290
|
SigningAlgorithm: SigningAlgorithm | undefined;
|
|
@@ -305,7 +305,7 @@ export interface CertificateAuthorityConfiguration {
|
|
|
305
305
|
*/
|
|
306
306
|
export interface CrlDistributionPointExtensionConfiguration {
|
|
307
307
|
/**
|
|
308
|
-
* <p>Configures whether the CRL Distribution Point extension should be populated with the default URL to the CRL. If set to <code>true</code>, then the CDP extension will not be present in any certificates issued by that CA unless otherwise specified through CSR or API passthrough.</p> <note> <p>Only set this if you have another way to distribute the CRL Distribution Points
|
|
308
|
+
* <p>Configures whether the CRL Distribution Point extension should be populated with the default URL to the CRL. If set to <code>true</code>, then the CDP extension will not be present in any certificates issued by that CA unless otherwise specified through CSR or API passthrough.</p> <note> <p>Only set this if you have another way to distribute the CRL Distribution Points for certificates issued by your CA, such as the Matter Distributed Compliance Ledger</p> <p>This configuration cannot be enabled with a custom CNAME set.</p> </note>
|
|
309
309
|
* @public
|
|
310
310
|
*/
|
|
311
311
|
OmitExtension: boolean | undefined;
|
|
@@ -331,12 +331,12 @@ export interface CrlConfiguration {
|
|
|
331
331
|
*/
|
|
332
332
|
CustomCname?: string | undefined;
|
|
333
333
|
/**
|
|
334
|
-
* <p>Name of the S3 bucket that contains the CRL. If you do not provide a value for the <b>CustomCname</b> argument, the name of your S3 bucket is placed into the <b>CRL Distribution Points</b> extension of the issued certificate. You can change the name of your bucket by calling the <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html">UpdateCertificateAuthority</a> operation. You must specify a <a href="https://docs.aws.amazon.com/privateca/latest/userguide/
|
|
334
|
+
* <p>Name of the S3 bucket that contains the CRL. If you do not provide a value for the <b>CustomCname</b> argument, the name of your S3 bucket is placed into the <b>CRL Distribution Points</b> extension of the issued certificate. You can change the name of your bucket by calling the <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html">UpdateCertificateAuthority</a> operation. You must specify a <a href="https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#s3-policies">bucket policy</a> that allows Amazon Web Services Private CA to write the CRL to your bucket.</p> <note> <p>The <code>S3BucketName</code> parameter must conform to the <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">S3 bucket naming rules</a>.</p> </note>
|
|
335
335
|
* @public
|
|
336
336
|
*/
|
|
337
337
|
S3BucketName?: string | undefined;
|
|
338
338
|
/**
|
|
339
|
-
* <p>Determines whether the CRL will be publicly readable or privately held in the CRL Amazon S3 bucket. If you choose PUBLIC_READ, the CRL will be accessible over the public internet. If you choose BUCKET_OWNER_FULL_CONTROL, only the owner of the CRL S3 bucket can access the CRL, and your PKI clients may need an alternative method of access. </p> <p>If no value is specified, the default is <code>PUBLIC_READ</code>.</p> <p> <i>Note:</i> This default can cause CA creation to fail in some circumstances. If you have have enabled the Block Public Access (BPA) feature in your S3 account, then you must specify the value of this parameter as <code>BUCKET_OWNER_FULL_CONTROL</code>, and not doing so results in an error. If you have disabled BPA in S3, then you can specify either <code>BUCKET_OWNER_FULL_CONTROL</code> or <code>PUBLIC_READ</code> as the value.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/
|
|
339
|
+
* <p>Determines whether the CRL will be publicly readable or privately held in the CRL Amazon S3 bucket. If you choose PUBLIC_READ, the CRL will be accessible over the public internet. If you choose BUCKET_OWNER_FULL_CONTROL, only the owner of the CRL S3 bucket can access the CRL, and your PKI clients may need an alternative method of access. </p> <p>If no value is specified, the default is <code>PUBLIC_READ</code>.</p> <p> <i>Note:</i> This default can cause CA creation to fail in some circumstances. If you have have enabled the Block Public Access (BPA) feature in your S3 account, then you must specify the value of this parameter as <code>BUCKET_OWNER_FULL_CONTROL</code>, and not doing so results in an error. If you have disabled BPA in S3, then you can specify either <code>BUCKET_OWNER_FULL_CONTROL</code> or <code>PUBLIC_READ</code> as the value.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#s3-bpa">Blocking public access to the S3 bucket</a>.</p>
|
|
340
340
|
* @public
|
|
341
341
|
*/
|
|
342
342
|
S3ObjectAcl?: S3ObjectAcl | undefined;
|
|
@@ -346,7 +346,7 @@ export interface CrlConfiguration {
|
|
|
346
346
|
*/
|
|
347
347
|
CrlDistributionPointExtensionConfiguration?: CrlDistributionPointExtensionConfiguration | undefined;
|
|
348
348
|
/**
|
|
349
|
-
* <p>Specifies whether to create a complete or partitioned CRL. This setting determines the maximum number of certificates that the certificate authority can issue and revoke. For more information, see <a href="
|
|
349
|
+
* <p>Specifies whether to create a complete or partitioned CRL. This setting determines the maximum number of certificates that the certificate authority can issue and revoke. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/pca.html#limits_pca">Amazon Web Services Private CA quotas</a>.</p> <ul> <li> <p> <code>COMPLETE</code> - The default setting. Amazon Web Services Private CA maintains a single CRL file for all unexpired certificates issued by a CA that have been revoked for any reason. Each certificate that Amazon Web Services Private CA issues is bound to a specific CRL through its CRL distribution point (CDP) extension, defined in <a href="https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.9"> RFC 5280</a>.</p> </li> <li> <p> <code>PARTITIONED</code> - Compared to complete CRLs, partitioned CRLs dramatically increase the number of certificates your private CA can issue. </p> <important> <p> When using partitioned CRLs, you must validate that the CRL's associated issuing distribution point (IDP) URI matches the certificate's CDP URI to ensure the right CRL has been fetched. Amazon Web Services Private CA marks the IDP extension as critical, which your client must be able to process. </p> </important> </li> </ul>
|
|
350
350
|
* @public
|
|
351
351
|
*/
|
|
352
352
|
CrlType?: CrlType | undefined;
|
|
@@ -23,10 +23,13 @@ export declare const SigningAlgorithm: {
|
|
|
23
23
|
readonly ML_DSA_87: "ML_DSA_87";
|
|
24
24
|
readonly SHA256WITHECDSA: "SHA256WITHECDSA";
|
|
25
25
|
readonly SHA256WITHRSA: "SHA256WITHRSA";
|
|
26
|
+
readonly SHA256WITHRSA_PSS: "SHA256WITHRSA_PSS";
|
|
26
27
|
readonly SHA384WITHECDSA: "SHA384WITHECDSA";
|
|
27
28
|
readonly SHA384WITHRSA: "SHA384WITHRSA";
|
|
29
|
+
readonly SHA384WITHRSA_PSS: "SHA384WITHRSA_PSS";
|
|
28
30
|
readonly SHA512WITHECDSA: "SHA512WITHECDSA";
|
|
29
31
|
readonly SHA512WITHRSA: "SHA512WITHRSA";
|
|
32
|
+
readonly SHA512WITHRSA_PSS: "SHA512WITHRSA_PSS";
|
|
30
33
|
readonly SM3WITHSM2: "SM3WITHSM2";
|
|
31
34
|
};
|
|
32
35
|
export type SigningAlgorithm = (typeof SigningAlgorithm)[keyof typeof SigningAlgorithm];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm-pca",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1105.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Acm Pca Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-acm-pca",
|
|
6
6
|
"license": "Apache-2.0",
|