Encrypting and Decrypting data using Cloud KMS

Lab Details:

  1. This lab walks you through Cloud KMS.

  2. You will encrypt and decrypt a file.

  3. Region: us-central1 

  4. Duration: 45 minutes

Note: Do not refresh the page after you click Start Lab, wait for up to 45 seconds to get the credentials.
In case while login into Google, if it asks for verification, please enter your mobile number and verify with OTP, Don't worry this Google Account will be deleted after the lab.

What is Cloud KMS?

  • Cloud KMS is designed as a cryptographic system.

  • You can't get the keys out which means keys are locked inside the system and you need not worry about them leaking.

  • The only thing you can do with these keys is encryption, decryption, and any other cryptographic operation.

  • These keys are useful for protecting data, or even for encrypting secrets,

  • For e.g. if you want to keep a database password as a secret so that you should be able to use or send elsewhere, you can store an encrypted version, then use Cloud KMS to decrypt it.

Lab Tasks:

  1. Creating a KeyRing and Key.

  2. Encrypting the file.

  3. Decrypting the file.



Join Whizlabs_Hands-On to Read the Rest of this Lab..and More!

Step 1 : Login to My-Account
Step 2 : Click on "Access Now" to view the course you have purchased
Step 3 : You will be taken to our Learn Management Solution (LMS) to access your Labs,Quiz and Video courses

Open Console