New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-kms

Package Overview
Dependencies
Maintainers
5
Versions
450
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-kms - npm Package Compare versions

Comparing version 3.555.0 to 3.556.0

12

dist-types/commands/EnableKeyRotationCommand.d.ts

@@ -174,4 +174,16 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @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.
* const input = {
* "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
* "RotationPeriodInDays": 365
* };
* const command = new EnableKeyRotationCommand(input);
* await client.send(command);
* // example id: to-enable-automatic-rotation-of-key-material-1712499675853
* ```
*
*/
export declare class EnableKeyRotationCommand extends EnableKeyRotationCommand_base {
}

@@ -184,4 +184,24 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @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.
* const input = {
* "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
* };
* const command = new GetKeyRotationStatusCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
* "KeyRotationEnabled": true,
* "NextRotationDate": "2024-04-05T15:14:47.757000+00:00",
* "OnDemandRotationStartDate": "2024-03-02T10:11:36.564000+00:00",
* "RotationPeriodInDays": 365
* }
* *\/
* // example id: to-retrieve-the-rotation-status-for-a-kms-key-1712500357701
* ```
*
*/
export declare class GetKeyRotationStatusCommand extends GetKeyRotationStatusCommand_base {
}

@@ -144,4 +144,32 @@ import { Command as $Command } from "@smithy/smithy-client";

* @public
* @example To retrieve information about all completed key material rotations
* ```javascript
* // The following example returns information about all completed key material rotations for the specified KMS key.
* const input = {
* "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
* };
* const command = new ListKeyRotationsCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "Rotations": [
* {
* "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
* "RotationDate": "2024-03-02T10:11:36.564000+00:00",
* "RotationType": "AUTOMATIC"
* },
* {
* "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
* "RotationDate": "2024-04-05T15:14:47.757000+00:00",
* "RotationType": "ON_DEMAND"
* }
* ],
* "Truncated": false
* }
* *\/
* // example id: to-retrieve-information-about-all-completed-key-material-rotations-1712585167775
* ```
*
*/
export declare class ListKeyRotationsCommand extends ListKeyRotationsCommand_base {
}

@@ -168,4 +168,20 @@ import { Command as $Command } from "@smithy/smithy-client";

* @public
* @example To perform on-demand rotation of key material
* ```javascript
* // The following example immediately initiates rotation of the key material for the specified KMS key.
* const input = {
* "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
* };
* const command = new RotateKeyOnDemandCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
* }
* *\/
* // example id: to-perform-on-demand-rotation-of-key-material-1712499025700
* ```
*
*/
export declare class RotateKeyOnDemandCommand extends RotateKeyOnDemandCommand_base {
}

8

package.json
{
"name": "@aws-sdk/client-kms",
"description": "AWS SDK for JavaScript Kms Client for Node.js, Browser and React Native",
"version": "3.555.0",
"version": "3.556.0",
"scripts": {

@@ -23,5 +23,5 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "3.554.0",
"@aws-sdk/core": "3.554.0",
"@aws-sdk/credential-provider-node": "3.554.0",
"@aws-sdk/client-sts": "3.556.0",
"@aws-sdk/core": "3.556.0",
"@aws-sdk/credential-provider-node": "3.556.0",
"@aws-sdk/middleware-host-header": "3.535.0",

@@ -28,0 +28,0 @@ "@aws-sdk/middleware-logger": "3.535.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc