Skip to main content

Redacting Sensitive Text with Google Cloud DLP

Hands-On Lab


Photo of

Training Architect





The internet makes a world of data accessible, and when that data is sensitive—like social security, credit card, and phone numbers—that’s a problem. Cloud Data Loss Prevention (Cloud DLP) is Google’s solution. This service makes it possible to detect a wide range of sensitive data and, if necessary, hide it from prying eyes. In this hands-on lab, we’ll enable the Cloud DLP API, create a service account and the necessary JSON key and token to access that API, and then use Cloud DLP to automatically detect and redact a series of sensitive data strings in a text file.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.