Skip navigation links

Package com.google.cloud.kms.v1

A client to Cloud Key Management Service (KMS) API.

See: Description

Package com.google.cloud.kms.v1 Description

A client to Cloud Key Management Service (KMS) API.

The interfaces provided are listed below, along with usage samples.

========================== KeyManagementServiceClient ==========================

Service Description: Google Cloud Key Management Service

Manages cryptographic keys and operations using those keys. Implements a REST model with the following objects:

* [KeyRing][google.cloud.kms.v1.KeyRing] * [CryptoKey][google.cloud.kms.v1.CryptoKey] * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]

If you are using manual gRPC libraries, see [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc).

Sample for KeyManagementServiceClient:

 
 try (KeyManagementServiceClient keyManagementServiceClient = KeyManagementServiceClient.create()) {
   KeyRingName name = KeyRingName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]");
   KeyRing response = keyManagementServiceClient.getKeyRing(name);
 }
 
 
Skip navigation links

Copyright © 2019 Google LLC. All rights reserved.