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 main · fredatgithub/java-docs-samples

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
35 lines (23 loc) · 1.57 KB
/

README.md

Copy path

File metadata and controls

35 lines (23 loc) · 1.57 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Google Cloud KMS

Open in Cloud Shell

Google Cloud KMS is a cloud-hosted key management service for encrypting, decrypting, signing, and verifying data. These sample Java applications demonstrate how to access the Cloud KMS API using the Google Java API Client Libraries.

Prerequisites

Enable the API

You must enable the Google Cloud KMS API for your project in order to use these samples

Set Environment Variables

You must set your project ID in order to run the tests

$ export GOOGLE_CLOUD_PROJECT="<your-project-id-here>"

Grant Permissions

You must ensure that the user account or service account you used to authorize your gcloud session has the proper permissions to edit KMS resources for your project. In the Cloud Console under IAM, add the following roles to the project whose service account you're using to test:

  • Cloud KMS Admin
  • Cloud KMS CryptoKey Encrypter/Decrypter
  • Cloud KMS Importer
  • Cloud KMS CryptoKey Public Key Viewer
  • Cloud KMS CryptoKey Signer/Verifier

More information can be found in the Google KMS Docs

You are visitor 01402775 — 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.