@aws-sdk/client-kms
Advanced tools
Comparing version 3.577.0 to 3.582.0
@@ -9,2 +9,3 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client"; | ||
RSA_AES_KEY_WRAP_SHA_256: "RSA_AES_KEY_WRAP_SHA_256", | ||
SM2PKE: "SM2PKE", | ||
}; | ||
@@ -688,2 +689,3 @@ export class AlreadyExistsException extends __BaseException { | ||
RSA_4096: "RSA_4096", | ||
SM2: "SM2", | ||
}; | ||
@@ -690,0 +692,0 @@ export class IncorrectKeyMaterialException extends __BaseException { |
@@ -165,13 +165,2 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* ```javascript | ||
* // The following example enables automatic annual rotation of the key material for the specified KMS key. | ||
* const input = { | ||
* "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" | ||
* }; | ||
* const command = new EnableKeyRotationCommand(input); | ||
* await client.send(command); | ||
* // example id: to-enable-automatic-rotation-of-key-material-1478629109677 | ||
* ``` | ||
* | ||
* @example To enable automatic rotation of key material | ||
* ```javascript | ||
* // The following example enables automatic rotation with a rotation period of 365 days for the specified KMS key. | ||
@@ -178,0 +167,0 @@ * const input = { |
@@ -170,18 +170,2 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* ```javascript | ||
* // The following example retrieves the status of automatic annual rotation of the key material for the specified KMS key. | ||
* const input = { | ||
* "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" | ||
* }; | ||
* const command = new GetKeyRotationStatusCommand(input); | ||
* const response = await client.send(command); | ||
* /* response == | ||
* { | ||
* "KeyRotationEnabled": true | ||
* } | ||
* *\/ | ||
* // example id: to-retrieve-the-rotation-status-for-a-cmk-1479172287408 | ||
* ``` | ||
* | ||
* @example To retrieve the rotation status for a KMS key | ||
* ```javascript | ||
* // The following example retrieves detailed information about the rotation status for a KMS key, including whether automatic key rotation is enabled for the specified KMS key, the rotation period, and the next scheduled rotation date. | ||
@@ -188,0 +172,0 @@ * const input = { |
@@ -50,3 +50,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* <li> | ||
* <p>The public key (or "wrapping key") of an RSA key pair that KMS generates.</p> | ||
* <p>The public key (or "wrapping key") of an asymmetric key pair that KMS generates.</p> | ||
* <p>You will use this public key to encrypt ("wrap") your key material while it's in | ||
@@ -115,4 +115,4 @@ * transit to KMS. </p> | ||
* KeyId: "STRING_VALUE", // required | ||
* WrappingAlgorithm: "RSAES_PKCS1_V1_5" || "RSAES_OAEP_SHA_1" || "RSAES_OAEP_SHA_256" || "RSA_AES_KEY_WRAP_SHA_1" || "RSA_AES_KEY_WRAP_SHA_256", // required | ||
* WrappingKeySpec: "RSA_2048" || "RSA_3072" || "RSA_4096", // required | ||
* WrappingAlgorithm: "RSAES_PKCS1_V1_5" || "RSAES_OAEP_SHA_1" || "RSAES_OAEP_SHA_256" || "RSA_AES_KEY_WRAP_SHA_1" || "RSA_AES_KEY_WRAP_SHA_256" || "SM2PKE", // required | ||
* WrappingKeySpec: "RSA_2048" || "RSA_3072" || "RSA_4096" || "SM2", // required | ||
* }; | ||
@@ -119,0 +119,0 @@ * const command = new GetParametersForImportCommand(input); |
@@ -9,2 +9,3 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; | ||
readonly RSA_AES_KEY_WRAP_SHA_256: "RSA_AES_KEY_WRAP_SHA_256"; | ||
readonly SM2PKE: "SM2PKE"; | ||
}; | ||
@@ -856,2 +857,3 @@ export type AlgorithmSpec = (typeof AlgorithmSpec)[keyof typeof AlgorithmSpec]; | ||
readonly RSA_4096: "RSA_4096"; | ||
readonly SM2: "SM2"; | ||
}; | ||
@@ -858,0 +860,0 @@ export type WrappingKeySpec = |
{ | ||
"name": "@aws-sdk/client-kms", | ||
"description": "AWS SDK for JavaScript Kms Client for Node.js, Browser and React Native", | ||
"version": "3.577.0", | ||
"version": "3.582.0", | ||
"scripts": { | ||
@@ -23,6 +23,6 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "3.0.0", | ||
"@aws-sdk/client-sso-oidc": "3.577.0", | ||
"@aws-sdk/client-sts": "3.577.0", | ||
"@aws-sdk/core": "3.576.0", | ||
"@aws-sdk/credential-provider-node": "3.577.0", | ||
"@aws-sdk/client-sso-oidc": "3.582.0", | ||
"@aws-sdk/client-sts": "3.582.0", | ||
"@aws-sdk/core": "3.582.0", | ||
"@aws-sdk/credential-provider-node": "3.582.0", | ||
"@aws-sdk/middleware-host-header": "3.577.0", | ||
@@ -38,4 +38,4 @@ "@aws-sdk/middleware-logger": "3.577.0", | ||
"@smithy/config-resolver": "^3.0.0", | ||
"@smithy/core": "^2.0.0", | ||
"@smithy/fetch-http-handler": "^3.0.0", | ||
"@smithy/core": "^2.0.1", | ||
"@smithy/fetch-http-handler": "^3.0.1", | ||
"@smithy/hash-node": "^3.0.0", | ||
@@ -45,3 +45,3 @@ "@smithy/invalid-dependency": "^3.0.0", | ||
"@smithy/middleware-endpoint": "^3.0.0", | ||
"@smithy/middleware-retry": "^3.0.0", | ||
"@smithy/middleware-retry": "^3.0.1", | ||
"@smithy/middleware-serde": "^3.0.0", | ||
@@ -52,3 +52,3 @@ "@smithy/middleware-stack": "^3.0.0", | ||
"@smithy/protocol-http": "^4.0.0", | ||
"@smithy/smithy-client": "^3.0.0", | ||
"@smithy/smithy-client": "^3.0.1", | ||
"@smithy/types": "^3.0.0", | ||
@@ -59,4 +59,4 @@ "@smithy/url-parser": "^3.0.0", | ||
"@smithy/util-body-length-node": "^3.0.0", | ||
"@smithy/util-defaults-mode-browser": "^3.0.0", | ||
"@smithy/util-defaults-mode-node": "^3.0.0", | ||
"@smithy/util-defaults-mode-browser": "^3.0.1", | ||
"@smithy/util-defaults-mode-node": "^3.0.1", | ||
"@smithy/util-endpoints": "^2.0.0", | ||
@@ -63,0 +63,0 @@ "@smithy/util-middleware": "^3.0.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1618347
10
21
3
111
33514
+ Added@aws-sdk/client-sso@3.582.0(transitive)
+ Added@aws-sdk/client-sso-oidc@3.582.0(transitive)
+ Added@aws-sdk/client-sts@3.582.0(transitive)
+ Added@aws-sdk/core@3.582.0(transitive)
+ Added@aws-sdk/credential-provider-http@3.582.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.582.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.582.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.582.0(transitive)
- Removed@aws-sdk/client-sso@3.577.0(transitive)
- Removed@aws-sdk/client-sso-oidc@3.577.0(transitive)
- Removed@aws-sdk/client-sts@3.577.0(transitive)
- Removed@aws-sdk/core@3.576.0(transitive)
- Removed@aws-sdk/credential-provider-http@3.577.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.577.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.577.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.577.0(transitive)
Updated@aws-sdk/client-sts@3.582.0
Updated@aws-sdk/core@3.582.0
Updated@smithy/core@^2.0.1
Updated@smithy/smithy-client@^3.0.1