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
Google Cloud Platform for Developers

You're reading from   Google Cloud Platform for Developers Build highly scalable cloud solutions with the power of Google Cloud Platform

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781788837675
Length 506 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Ted Hunter Ted Hunter
Author Profile Icon Ted Hunter
Ted Hunter
Steven Porter Steven Porter
Author Profile Icon Steven Porter
Steven Porter
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Why GCP? FREE CHAPTER 2. The Google Cloud Console 3. APIs, CLIs, IAM, and Billing 4. Google App Engine 5. Google Kubernetes Engine 6. Google Cloud Functions 7. Google Compute Engine 8. NoSQL with Datastore and Bigtable 9. Relational Data with Cloud SQL and Cloud Spanner 10. Google Cloud Storage 11. Stackdriver 12. Change Management 13. GCP Networking for Developers 14. Messaging with Pub/Sub and IoT Core 15. Integrating with Big Data Solutions on GCP 16. Other Books You May Enjoy

Managing secrets with GKE

Secrets are private or otherwise sensitive pieces of data such as credentials, access keys, and tokens. Utilizing secrets gives you a much more secure option for storing your sensitive data compared to textual configuration definitions. You create secrets using the Kubernetes CLI, providing name, type, and data parameters.

Creating/Storing secrets

kubectl create secret generic creds --from-literal=username=bobsmith --from-literal=password=p@ssw0rd

Most secrets, like credentials, will be generically typed and contain textual data. In addition to being able to create secrets from literals, you also have the ability to create them from text files. When using files as the basis for your secrets, the key...

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 €18.99/month. Cancel anytime