Skip to content

Commit 1bd0b8f

Browse files
author
awstools
committed
feat(client-acm-pca): Private Certificate Authority service now supports ML-DSA key algorithms.
1 parent d45f0eb commit 1bd0b8f

File tree

6 files changed

+49
-7
lines changed

6 files changed

+49
-7
lines changed

clients/client-acm-pca/src/commands/CreateCertificateAuthorityCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export interface CreateCertificateAuthorityCommandOutput extends CreateCertifica
3838
* const client = new ACMPCAClient(config);
3939
* const input = { // CreateCertificateAuthorityRequest
4040
* CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
41-
* KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "SM2", // required
42-
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
41+
* KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87" || "SM2", // required
42+
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
4343
* Subject: { // ASN1Subject
4444
* Country: "STRING_VALUE",
4545
* Organization: "STRING_VALUE",

clients/client-acm-pca/src/commands/DescribeCertificateAuthorityCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ export interface DescribeCertificateAuthorityCommandOutput
5656
* // NotAfter: new Date("TIMESTAMP"),
5757
* // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
5858
* // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
59-
* // KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "SM2", // required
60-
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
59+
* // KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87" || "SM2", // required
60+
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
6161
* // Subject: { // ASN1Subject
6262
* // Country: "STRING_VALUE",
6363
* // Organization: "STRING_VALUE",

clients/client-acm-pca/src/commands/IssueCertificateCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export interface IssueCertificateCommandOutput extends IssueCertificateResponse,
141141
* },
142142
* CertificateAuthorityArn: "STRING_VALUE", // required
143143
* Csr: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
144-
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
144+
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
145145
* TemplateArn: "STRING_VALUE",
146146
* Validity: { // Validity
147147
* Value: Number("long"), // required

clients/client-acm-pca/src/commands/ListCertificateAuthoritiesCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export interface ListCertificateAuthoritiesCommandOutput extends ListCertificate
5858
* // NotAfter: new Date("TIMESTAMP"),
5959
* // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
6060
* // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
61-
* // KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "SM2", // required
62-
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
61+
* // KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87" || "SM2", // required
62+
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required
6363
* // Subject: { // ASN1Subject
6464
* // Country: "STRING_VALUE",
6565
* // Organization: "STRING_VALUE",

clients/client-acm-pca/src/models/models_0.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,9 @@ export const KeyAlgorithm = {
344344
EC_prime256v1: "EC_prime256v1",
345345
EC_secp384r1: "EC_secp384r1",
346346
EC_secp521r1: "EC_secp521r1",
347+
ML_DSA_44: "ML_DSA_44",
348+
ML_DSA_65: "ML_DSA_65",
349+
ML_DSA_87: "ML_DSA_87",
347350
RSA_2048: "RSA_2048",
348351
RSA_3072: "RSA_3072",
349352
RSA_4096: "RSA_4096",
@@ -360,6 +363,9 @@ export type KeyAlgorithm = (typeof KeyAlgorithm)[keyof typeof KeyAlgorithm];
360363
* @enum
361364
*/
362365
export const SigningAlgorithm = {
366+
ML_DSA_44: "ML_DSA_44",
367+
ML_DSA_65: "ML_DSA_65",
368+
ML_DSA_87: "ML_DSA_87",
363369
SHA256WITHECDSA: "SHA256WITHECDSA",
364370
SHA256WITHRSA: "SHA256WITHRSA",
365371
SHA384WITHECDSA: "SHA384WITHECDSA",

codegen/sdk-codegen/aws-models/acm-pca.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3299,6 +3299,24 @@
32993299
"smithy.api#enumValue": "EC_secp521r1"
33003300
}
33013301
},
3302+
"ML_DSA_44": {
3303+
"target": "smithy.api#Unit",
3304+
"traits": {
3305+
"smithy.api#enumValue": "ML_DSA_44"
3306+
}
3307+
},
3308+
"ML_DSA_65": {
3309+
"target": "smithy.api#Unit",
3310+
"traits": {
3311+
"smithy.api#enumValue": "ML_DSA_65"
3312+
}
3313+
},
3314+
"ML_DSA_87": {
3315+
"target": "smithy.api#Unit",
3316+
"traits": {
3317+
"smithy.api#enumValue": "ML_DSA_87"
3318+
}
3319+
},
33023320
"SM2": {
33033321
"target": "smithy.api#Unit",
33043322
"traits": {
@@ -4308,6 +4326,24 @@
43084326
"traits": {
43094327
"smithy.api#enumValue": "SM3WITHSM2"
43104328
}
4329+
},
4330+
"ML_DSA_44": {
4331+
"target": "smithy.api#Unit",
4332+
"traits": {
4333+
"smithy.api#enumValue": "ML_DSA_44"
4334+
}
4335+
},
4336+
"ML_DSA_65": {
4337+
"target": "smithy.api#Unit",
4338+
"traits": {
4339+
"smithy.api#enumValue": "ML_DSA_65"
4340+
}
4341+
},
4342+
"ML_DSA_87": {
4343+
"target": "smithy.api#Unit",
4344+
"traits": {
4345+
"smithy.api#enumValue": "ML_DSA_87"
4346+
}
43114347
}
43124348
}
43134349
},

0 commit comments

Comments
 (0)