@google-cloud/kms

The @google-cloud/kms package has the following named exports:

Source:
Examples

Install the client library with npm:

npm install --save @google-cloud/kms

Import the client library:

const kms = require('@google-cloud/kms');

Create a client that uses Application Default Credentials (ADC):

const client = new kms.KeyManagementServiceClient();

Create a client with explicit credentials:

const client = new kms.KeyManagementServiceClient({
  projectId: 'your-project-id',
  keyFilename: '/path/to/keyfile.json',
});

Members

(static) v1 :object

Properties:
Name Type Description
KeyManagementServiceClient constructor

Reference to v1.KeyManagementServiceClient

Source: