Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/kms

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/kms - npm Package Compare versions

Comparing version 2.8.0 to 2.8.1

7

CHANGELOG.md

@@ -7,2 +7,9 @@ # Changelog

### [2.8.1](https://www.github.com/googleapis/nodejs-kms/compare/v2.8.0...v2.8.1) (2021-09-03)
### Bug Fixes
* **build:** migrate to main branch ([#496](https://www.github.com/googleapis/nodejs-kms/issues/496)) ([b1804fb](https://www.github.com/googleapis/nodejs-kms/commit/b1804fbc2bc85cbc03c50c82f33690682dd91d58))
## [2.8.0](https://www.github.com/googleapis/nodejs-kms/compare/v2.7.0...v2.8.0) (2021-08-30)

@@ -9,0 +16,0 @@

2

package.json
{
"name": "@google-cloud/kms",
"description": "Google Cloud Key Management Service (KMS) API client for Node.js",
"version": "2.8.0",
"version": "2.8.1",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "author": "Google LLC",

@@ -9,3 +9,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

[![npm version](https://img.shields.io/npm/v/@google-cloud/kms.svg)](https://www.npmjs.org/package/@google-cloud/kms)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-kms/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-kms)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-kms/main.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-kms)

@@ -19,3 +19,3 @@

A comprehensive list of changes in each version may be found in
[the CHANGELOG](https://github.com/googleapis/nodejs-kms/blob/master/CHANGELOG.md).
[the CHANGELOG](https://github.com/googleapis/nodejs-kms/blob/main/CHANGELOG.md).

@@ -98,41 +98,41 @@ * [Google Cloud Key Management Service Node.js Client API Reference][client-docs]

Samples are in the [`samples/`](https://github.com/googleapis/nodejs-kms/tree/master/samples) directory. Each sample's `README.md` has instructions for running its sample.
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-kms/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Create Key Asymmetric Decrypt | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/createKeyAsymmetricDecrypt.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyAsymmetricDecrypt.js,samples/README.md) |
| Create Key Asymmetric Sign | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/createKeyAsymmetricSign.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyAsymmetricSign.js,samples/README.md) |
| Create Key Hsm | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/createKeyHsm.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyHsm.js,samples/README.md) |
| Create Key Labels | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/createKeyLabels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyLabels.js,samples/README.md) |
| Create Key Mac | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/createKeyMac.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyMac.js,samples/README.md) |
| Create Key Ring | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/createKeyRing.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyRing.js,samples/README.md) |
| Create Key Rotation Schedule | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/createKeyRotationSchedule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyRotationSchedule.js,samples/README.md) |
| Create Key Symmetric Encrypt Decrypt | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/createKeySymmetricEncryptDecrypt.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeySymmetricEncryptDecrypt.js,samples/README.md) |
| Create Key Version | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/createKeyVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyVersion.js,samples/README.md) |
| Decrypt Asymmetric | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/decryptAsymmetric.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/decryptAsymmetric.js,samples/README.md) |
| Decrypt Symmetric | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/decryptSymmetric.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/decryptSymmetric.js,samples/README.md) |
| Destroy Key Version | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/destroyKeyVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/destroyKeyVersion.js,samples/README.md) |
| Disable Key Version | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/disableKeyVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/disableKeyVersion.js,samples/README.md) |
| Enable Key Version | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/enableKeyVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/enableKeyVersion.js,samples/README.md) |
| Encrypt Asymmetric | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/encryptAsymmetric.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/encryptAsymmetric.js,samples/README.md) |
| Encrypt Symmetric | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/encryptSymmetric.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/encryptSymmetric.js,samples/README.md) |
| Generate Random Bytes | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/generateRandomBytes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/generateRandomBytes.js,samples/README.md) |
| Get Key Labels | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/getKeyLabels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/getKeyLabels.js,samples/README.md) |
| Get Key Version Attestation | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/getKeyVersionAttestation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/getKeyVersionAttestation.js,samples/README.md) |
| Get Public Key | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/getPublicKey.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/getPublicKey.js,samples/README.md) |
| Iam Add Member | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/iamAddMember.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/iamAddMember.js,samples/README.md) |
| Iam Get Policy | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/iamGetPolicy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/iamGetPolicy.js,samples/README.md) |
| Iam Remove Member | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/iamRemoveMember.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/iamRemoveMember.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Restore Key Version | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/restoreKeyVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/restoreKeyVersion.js,samples/README.md) |
| Sign Asymmetric | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/signAsymmetric.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/signAsymmetric.js,samples/README.md) |
| Sign Mac | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/signMac.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/signMac.js,samples/README.md) |
| Update Key Add Rotation | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/updateKeyAddRotation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/updateKeyAddRotation.js,samples/README.md) |
| Update Key Remove Labels | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/updateKeyRemoveLabels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/updateKeyRemoveLabels.js,samples/README.md) |
| Update Key Remove Rotation | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/updateKeyRemoveRotation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/updateKeyRemoveRotation.js,samples/README.md) |
| Update Key Set Primary | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/updateKeySetPrimary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/updateKeySetPrimary.js,samples/README.md) |
| Update Key Update Labels | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/updateKeyUpdateLabels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/updateKeyUpdateLabels.js,samples/README.md) |
| Verify Asymmetric Ec | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/verifyAsymmetricEc.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/verifyAsymmetricEc.js,samples/README.md) |
| Verify Asymmetric Rsa | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/verifyAsymmetricRsa.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/verifyAsymmetricRsa.js,samples/README.md) |
| Verify Mac | [source code](https://github.com/googleapis/nodejs-kms/blob/master/samples/verifyMac.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/verifyMac.js,samples/README.md) |
| Create Key Asymmetric Decrypt | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/createKeyAsymmetricDecrypt.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyAsymmetricDecrypt.js,samples/README.md) |
| Create Key Asymmetric Sign | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/createKeyAsymmetricSign.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyAsymmetricSign.js,samples/README.md) |
| Create Key Hsm | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/createKeyHsm.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyHsm.js,samples/README.md) |
| Create Key Labels | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/createKeyLabels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyLabels.js,samples/README.md) |
| Create Key Mac | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/createKeyMac.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyMac.js,samples/README.md) |
| Create Key Ring | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/createKeyRing.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyRing.js,samples/README.md) |
| Create Key Rotation Schedule | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/createKeyRotationSchedule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyRotationSchedule.js,samples/README.md) |
| Create Key Symmetric Encrypt Decrypt | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/createKeySymmetricEncryptDecrypt.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeySymmetricEncryptDecrypt.js,samples/README.md) |
| Create Key Version | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/createKeyVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/createKeyVersion.js,samples/README.md) |
| Decrypt Asymmetric | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/decryptAsymmetric.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/decryptAsymmetric.js,samples/README.md) |
| Decrypt Symmetric | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/decryptSymmetric.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/decryptSymmetric.js,samples/README.md) |
| Destroy Key Version | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/destroyKeyVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/destroyKeyVersion.js,samples/README.md) |
| Disable Key Version | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/disableKeyVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/disableKeyVersion.js,samples/README.md) |
| Enable Key Version | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/enableKeyVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/enableKeyVersion.js,samples/README.md) |
| Encrypt Asymmetric | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/encryptAsymmetric.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/encryptAsymmetric.js,samples/README.md) |
| Encrypt Symmetric | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/encryptSymmetric.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/encryptSymmetric.js,samples/README.md) |
| Generate Random Bytes | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/generateRandomBytes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/generateRandomBytes.js,samples/README.md) |
| Get Key Labels | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/getKeyLabels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/getKeyLabels.js,samples/README.md) |
| Get Key Version Attestation | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/getKeyVersionAttestation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/getKeyVersionAttestation.js,samples/README.md) |
| Get Public Key | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/getPublicKey.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/getPublicKey.js,samples/README.md) |
| Iam Add Member | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/iamAddMember.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/iamAddMember.js,samples/README.md) |
| Iam Get Policy | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/iamGetPolicy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/iamGetPolicy.js,samples/README.md) |
| Iam Remove Member | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/iamRemoveMember.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/iamRemoveMember.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Restore Key Version | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/restoreKeyVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/restoreKeyVersion.js,samples/README.md) |
| Sign Asymmetric | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/signAsymmetric.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/signAsymmetric.js,samples/README.md) |
| Sign Mac | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/signMac.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/signMac.js,samples/README.md) |
| Update Key Add Rotation | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/updateKeyAddRotation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/updateKeyAddRotation.js,samples/README.md) |
| Update Key Remove Labels | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/updateKeyRemoveLabels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/updateKeyRemoveLabels.js,samples/README.md) |
| Update Key Remove Rotation | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/updateKeyRemoveRotation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/updateKeyRemoveRotation.js,samples/README.md) |
| Update Key Set Primary | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/updateKeySetPrimary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/updateKeySetPrimary.js,samples/README.md) |
| Update Key Update Labels | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/updateKeyUpdateLabels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/updateKeyUpdateLabels.js,samples/README.md) |
| Verify Asymmetric Ec | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/verifyAsymmetricEc.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/verifyAsymmetricEc.js,samples/README.md) |
| Verify Asymmetric Rsa | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/verifyAsymmetricRsa.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/verifyAsymmetricRsa.js,samples/README.md) |
| Verify Mac | [source code](https://github.com/googleapis/nodejs-kms/blob/main/samples/verifyMac.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-kms&page=editor&open_in_editor=samples/verifyMac.js,samples/README.md) |

@@ -186,3 +186,3 @@

Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-kms/blob/master/CONTRIBUTING.md).
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-kms/blob/main/CONTRIBUTING.md).

@@ -199,3 +199,3 @@ Please note that this `README.md`, the `samples/README.md`,

See [LICENSE](https://github.com/googleapis/nodejs-kms/blob/master/LICENSE)
See [LICENSE](https://github.com/googleapis/nodejs-kms/blob/main/LICENSE)

@@ -202,0 +202,0 @@ [client-docs]: https://cloud.google.com/nodejs/docs/reference/kms/latest

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