@alliander-opensource/aws-jwt-sts 0.3.3 → 0.3.5
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/.jsii +4413 -0
- package/dist/index.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@aws-lambda-powertools/commons/lib/cjs/version.d.ts +1 -1
- package/node_modules/@aws-lambda-powertools/commons/lib/cjs/version.js +1 -1
- package/node_modules/@aws-lambda-powertools/commons/lib/esm/version.d.ts +1 -1
- package/node_modules/@aws-lambda-powertools/commons/lib/esm/version.js +1 -1
- package/node_modules/@aws-lambda-powertools/commons/package.json +1 -1
- package/node_modules/@aws-lambda-powertools/logger/package.json +2 -2
- package/node_modules/@aws-sdk/client-kms/README.md +11 -9
- package/node_modules/@aws-sdk/client-kms/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/client-kms/dist-es/models/models_0.js +5 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/KMS.d.ts +11 -9
- package/node_modules/@aws-sdk/client-kms/dist-types/KMSClient.d.ts +11 -9
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/CreateKeyCommand.d.ts +16 -15
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/DecryptCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/DescribeKeyCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyPairCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GetPublicKeyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/ImportKeyMaterialCommand.d.ts +30 -27
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/ListKeyRotationsCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/ReEncryptCommand.d.ts +5 -1
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/ReplicateKeyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/RotateKeyOnDemandCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/SignCommand.d.ts +10 -10
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/VerifyCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-kms/dist-types/endpoint/EndpointParameters.d.ts +8 -8
- package/node_modules/@aws-sdk/client-kms/dist-types/index.d.ts +11 -9
- package/node_modules/@aws-sdk/client-kms/dist-types/models/models_0.d.ts +164 -108
- package/node_modules/@aws-sdk/client-kms/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
- package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/node_modules/@aws-sdk/client-kms/package.json +12 -12
- package/node_modules/@aws-sdk/client-s3/README.md +8 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +144 -25
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +12 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +89 -17
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +5 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +12 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +16 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +12 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +8 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +8 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +8 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +9 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +8 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +9 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +9 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +13 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +13 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +12 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +144 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +27 -27
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +80 -20
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +147 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +9 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +8 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +8 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +17 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +7 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +36 -27
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +23 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +12 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +20 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +14 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -1
- package/node_modules/@aws-sdk/client-s3/package.json +20 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +8 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +7 -36
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeUseArnRegionConfigOptions.js +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostname.js +1 -19
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostnameUtils.js +2 -23
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/configurations.js +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeUseArnRegionConfigOptions.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketEndpointMiddleware.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostname.d.ts +8 -0
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostnameUtils.d.ts +59 -3
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/configurations.d.ts +13 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeUseArnRegionConfigOptions.d.ts +3 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +8 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +10 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +11 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +13 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +55 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +34 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +24 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +33 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +32 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +3 -1
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +16 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +4 -4
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/service-error-classification/dist-es/constants.js +1 -0
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +2 -1
- package/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts +4 -0
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +4 -0
- package/node_modules/@smithy/service-error-classification/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +2 -2
- package/node_modules/@types/uuid/LICENSE +21 -0
- package/node_modules/@types/uuid/README.md +15 -0
- package/node_modules/@types/uuid/index.d.mts +12 -0
- package/node_modules/@types/uuid/index.d.ts +86 -0
- package/node_modules/@types/uuid/package.json +54 -0
- package/package.json +28 -24
|
@@ -31,11 +31,11 @@ declare const SignCommand_base: {
|
|
|
31
31
|
* signature</a> for a message or message digest by using the private key in an asymmetric
|
|
32
32
|
* signing KMS key. To verify the signature, use the <a>Verify</a> operation, or use
|
|
33
33
|
* the public key in the same asymmetric KMS key outside of KMS. For information about asymmetric KMS keys, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Asymmetric KMS keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
34
|
-
* <p>Digital signatures are generated and verified by using asymmetric key pair, such as an
|
|
35
|
-
*
|
|
36
|
-
* user) uses their private key to sign a message. Anyone with the public key can
|
|
37
|
-
* message was signed with that particular private key and that the message
|
|
38
|
-
* it was signed. </p>
|
|
34
|
+
* <p>Digital signatures are generated and verified by using asymmetric key pair, such as an
|
|
35
|
+
* RSA, ECC, or ML-DSA pair that is represented by an asymmetric KMS key. The key owner (or an
|
|
36
|
+
* authorized user) uses their private key to sign a message. Anyone with the public key can
|
|
37
|
+
* verify that the message was signed with that particular private key and that the message
|
|
38
|
+
* hasn't changed since it was signed. </p>
|
|
39
39
|
* <p>To use the <code>Sign</code> operation, provide the following information:</p>
|
|
40
40
|
* <ul>
|
|
41
41
|
* <li>
|
|
@@ -48,8 +48,8 @@ declare const SignCommand_base: {
|
|
|
48
48
|
* <p>Use the <code>Message</code> parameter to specify the message or message digest to
|
|
49
49
|
* sign. You can submit messages of up to 4096 bytes. To sign a larger message, generate a
|
|
50
50
|
* hash digest of the message, and then provide the hash digest in the <code>Message</code>
|
|
51
|
-
* parameter. To indicate whether the message is a full message
|
|
52
|
-
*
|
|
51
|
+
* parameter. To indicate whether the message is a full message, a digest, or an ML-DSA
|
|
52
|
+
* EXTERNAL_MU, use the <code>MessageType</code> parameter.</p>
|
|
53
53
|
* </li>
|
|
54
54
|
* <li>
|
|
55
55
|
* <p>Choose a signing algorithm that is compatible with the KMS key. </p>
|
|
@@ -91,11 +91,11 @@ declare const SignCommand_base: {
|
|
|
91
91
|
* const input = { // SignRequest
|
|
92
92
|
* KeyId: "STRING_VALUE", // required
|
|
93
93
|
* Message: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
94
|
-
* MessageType: "RAW" || "DIGEST",
|
|
94
|
+
* MessageType: "RAW" || "DIGEST" || "EXTERNAL_MU",
|
|
95
95
|
* GrantTokens: [ // GrantTokenList
|
|
96
96
|
* "STRING_VALUE",
|
|
97
97
|
* ],
|
|
98
|
-
* SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA", // required
|
|
98
|
+
* SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA" || "ML_DSA_SHAKE_256", // required
|
|
99
99
|
* DryRun: true || false,
|
|
100
100
|
* };
|
|
101
101
|
* const command = new SignCommand(input);
|
|
@@ -103,7 +103,7 @@ declare const SignCommand_base: {
|
|
|
103
103
|
* // { // SignResponse
|
|
104
104
|
* // KeyId: "STRING_VALUE",
|
|
105
105
|
* // Signature: new Uint8Array(),
|
|
106
|
-
* // SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA",
|
|
106
|
+
* // SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA" || "ML_DSA_SHAKE_256",
|
|
107
107
|
* // };
|
|
108
108
|
*
|
|
109
109
|
* ```
|
package/node_modules/@aws-sdk/client-kms/dist-types/commands/UpdatePrimaryRegionCommand.d.ts
CHANGED
|
@@ -33,7 +33,8 @@ declare const UpdatePrimaryRegionCommand_base: {
|
|
|
33
33
|
* in <code>us-east-1</code> and a replica key in <code>eu-west-2</code>. If you run
|
|
34
34
|
* <code>UpdatePrimaryRegion</code> with a <code>PrimaryRegion</code> value of
|
|
35
35
|
* <code>eu-west-2</code>, the primary key is now the key in <code>eu-west-2</code>, and the
|
|
36
|
-
* key in <code>us-east-1</code> becomes a replica key. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-update.html">Change the primary key in a
|
|
36
|
+
* key in <code>us-east-1</code> becomes a replica key. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-update.html">Change the primary key in a
|
|
37
|
+
* set of multi-Region keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
37
38
|
* <p>This operation supports <i>multi-Region keys</i>, an KMS feature that lets you create multiple
|
|
38
39
|
* interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key
|
|
39
40
|
* material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt
|
|
@@ -74,9 +74,9 @@ declare const VerifyCommand_base: {
|
|
|
74
74
|
* const input = { // VerifyRequest
|
|
75
75
|
* KeyId: "STRING_VALUE", // required
|
|
76
76
|
* Message: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
77
|
-
* MessageType: "RAW" || "DIGEST",
|
|
77
|
+
* MessageType: "RAW" || "DIGEST" || "EXTERNAL_MU",
|
|
78
78
|
* Signature: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
79
|
-
* SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA", // required
|
|
79
|
+
* SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA" || "ML_DSA_SHAKE_256", // required
|
|
80
80
|
* GrantTokens: [ // GrantTokenList
|
|
81
81
|
* "STRING_VALUE",
|
|
82
82
|
* ],
|
|
@@ -87,7 +87,7 @@ declare const VerifyCommand_base: {
|
|
|
87
87
|
* // { // VerifyResponse
|
|
88
88
|
* // KeyId: "STRING_VALUE",
|
|
89
89
|
* // SignatureValid: true || false,
|
|
90
|
-
* // SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA",
|
|
90
|
+
* // SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA" || "ML_DSA_SHAKE_256",
|
|
91
91
|
* // };
|
|
92
92
|
*
|
|
93
93
|
* ```
|
|
@@ -3,12 +3,12 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface ClientInputEndpointParameters {
|
|
6
|
-
region?: string | Provider<string>;
|
|
7
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
7
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
-
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
11
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
@@ -31,8 +31,8 @@ export declare const commonParams: {
|
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
|
-
Region?: string;
|
|
35
|
-
UseDualStack?: boolean;
|
|
36
|
-
UseFIPS?: boolean;
|
|
37
|
-
Endpoint?: string;
|
|
34
|
+
Region?: string | undefined;
|
|
35
|
+
UseDualStack?: boolean | undefined;
|
|
36
|
+
UseFIPS?: boolean | undefined;
|
|
37
|
+
Endpoint?: string | undefined;
|
|
38
38
|
}
|
|
@@ -8,18 +8,20 @@
|
|
|
8
8
|
* <note>
|
|
9
9
|
* <p>KMS has replaced the term <i>customer master key (CMK)</i> with <i>KMS key</i> and <i>KMS key</i>. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.</p>
|
|
10
10
|
* <p>Amazon Web Services provides SDKs that consist of libraries and sample code for various programming
|
|
11
|
-
* languages and platforms (Java, Ruby, .Net, macOS, Android, etc.). The SDKs
|
|
12
|
-
* convenient way to create programmatic access to KMS and other Amazon Web Services services.
|
|
13
|
-
* the SDKs take care of tasks such as signing requests (see below), managing
|
|
14
|
-
* retrying requests automatically. For more information about the Amazon Web Services SDKs,
|
|
15
|
-
* download and install them, see <a href="http://aws.amazon.com/tools/">Tools
|
|
16
|
-
* Services</a>.</p>
|
|
11
|
+
* languages and platforms (Java, Rust, Python, Ruby, .Net, macOS, Android, etc.). The SDKs
|
|
12
|
+
* provide a convenient way to create programmatic access to KMS and other Amazon Web Services services.
|
|
13
|
+
* For example, the SDKs take care of tasks such as signing requests (see below), managing
|
|
14
|
+
* errors, and retrying requests automatically. For more information about the Amazon Web Services SDKs,
|
|
15
|
+
* including how to download and install them, see <a href="http://aws.amazon.com/tools/">Tools
|
|
16
|
+
* for Amazon Web Services</a>.</p>
|
|
17
17
|
* </note>
|
|
18
18
|
* <p>We recommend that you use the Amazon Web Services SDKs to make programmatic API calls to KMS.</p>
|
|
19
19
|
* <p>If you need to use FIPS 140-2 validated cryptographic modules when communicating with
|
|
20
|
-
* Amazon Web Services, use the FIPS
|
|
21
|
-
*
|
|
22
|
-
*
|
|
20
|
+
* Amazon Web Services, use one of the FIPS endpoints in your preferred Amazon Web Services Region. If you need communicate
|
|
21
|
+
* over IPv6, use the dual-stack endpoint in your preferred Amazon Web Services Region. For more information
|
|
22
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/kms.html#kms_region">Service
|
|
23
|
+
* endpoints</a> in the Key Management Service topic of the <i>Amazon Web Services General Reference</i> and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/ipv6-kms.html">Dual-stack endpoint
|
|
24
|
+
* support</a> in the KMS Developer Guide.</p>
|
|
23
25
|
* <p>All KMS API calls must be signed and be transmitted using Transport Layer Security
|
|
24
26
|
* (TLS). KMS recommends you always use the latest supported TLS version. Clients must also
|
|
25
27
|
* support cipher suites with Perfect Forward Secrecy (PFS) such as Ephemeral Diffie-Hellman
|