Chapter 2: Security Fundamentals and Best Practices

In this chapter, we look at the best security practices for your applications on Google Cloud Platform (GCP) in order to reduce the attack surface of your services and protect them from any unauthorized access to information or actions. You will learn about the following topics:

  • What the principle of least privilege (POLP) is, and why it is critical to the security of your applications
  • What a service account is and how we can integrate it with our applications to access Google Cloud services
  • How to avoid hardcoded passwords in your application using Google Secret Manager
  • How to apply Google Cloud best practices to your application

Technical requirements

For this chapter, you will require ...

Get Google Cloud Certified Professional Cloud Developer Exam Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.