Redacting Sensitive Text with Google Cloud DLP
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.