Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Kubernetes Secrets Handbook

You're reading from   Kubernetes Secrets Handbook Design, implement, and maintain production-grade Kubernetes Secrets management solutions

Arrow left icon
Product type Paperback
Published in Jan 2024
Publisher
ISBN-13 9781805123224
Length 294 pages
Edition 1st Edition
Concepts
Arrow right icon
Authors (3):
Arrow left icon
Chen Xi Chen Xi
Author Profile Icon Chen Xi
Chen Xi
Emmanouil Gkatziouras Emmanouil Gkatziouras
Author Profile Icon Emmanouil Gkatziouras
Emmanouil Gkatziouras
Rom Adams Rom Adams
Author Profile Icon Rom Adams
Rom Adams
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Part 1:Introduction to Kubernetes Secrets Management FREE CHAPTER
2. Chapter 1: Understanding Kubernetes Secrets Management 3. Chapter 2: Walking through Kubernetes Secrets Management Concepts 4. Chapter 3: Encrypting Secrets the Kubernetes-Native Way 5. Chapter 4: Debugging and Troubleshooting Kubernetes Secrets 6. Part 2: Advanced Topics – Kubernetes Secrets in a Production Environment
7. Chapter 5: Security, Auditing, and Compliance 8. Chapter 6: Disaster Recovery and Backups 9. Chapter 7: Challenges and Risks in Managing Secrets 10. Part 3: Kubernetes Secrets Providers
11. Chapter 8: Exploring Cloud Secret Store on AWS 12. Chapter 9: Exploring Cloud Secret Store on Azure 13. Chapter 10: Exploring Cloud Secret Store on GCP 14. Chapter 11: Exploring External Secret Stores 15. Chapter 12: Integrating with Secret Stores 16. Chapter 13: Case Studies and Real-World Examples 17. Chapter 14: Conclusion and the Future of Kubernetes Secrets Management 18. Index 19. Other Books You May Enjoy

Integrating GKE and GCP Secret Manager

Thanks to the CSI Secret Store plugins, we can integrate Secret Manager solutions with our Kubernetes cluster. The Kubernetes offering on Google Cloud is the Google Kubernetes engine. We will use this Kubernetes cluster offering to integrate with Secret Manager.

There are several options to create a cluster. We will provide the Terraform code for the scope of creating the cluster. Also, we will provide other commands needed.

Configuring the Terraform project

We need to configure the Terraform provider. It will point to the GCP credentials file and also to the GCP project and the region.

The provider configuration should be like this:

provider "google" {
  credentials = "/path/to/credentials/file"
  project     = "your-gcp-project"
  region      = "us-central1"
}

To initialize, we need to run the init command...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime