GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-docs-samples/kms/README.md at master · bhalin/java-docs-samples

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
30 lines (19 loc) · 989 Bytes
/

README.md

Copy path

File metadata and controls

30 lines (19 loc) · 989 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Cloud Key Management Service

Google Cloud Key Management Service is a cloud-hosted key management service that lets you manage encryption for your cloud services the same way you do on-premise. You can generate, use, rotate and destroy AES256 encryption keys. These sample Java applications demonstrate how to access the KMS API using the Google Java API Client Libraries.

Quickstart

Install Maven.

Build your project with:

mvn clean compile assembly:single

You can run the quickstart with:

java -cp target/kms-samples-1.0.0-jar-with-dependencies.jar \
    com.example.Quickstart [your-project-id]

and can see the available snippet commands with:

java -cp target/kms-samples-1.0.0-jar-with-dependencies.jar \
    com.example.Snippets

For example:

java -cp target/kms-samples-1.0.0-jar-with-dependencies.jar \
    com.example.Snippets createKeyRing -p <your-project-id> myFirstKeyRing
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.