Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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

Auditing

We have successfully created Secrets and made sure we received them securely by utilizing AWS IAM. Since secure access has been tackled and we have fine-grained permissions, we are interested in also logging the usage of and access to our Secrets management instance.

There are two ways to evaluate the secret access that occurs in Kubernetes:

  • Kubernetes Secrets access logs
  • AWS Secrets Manager logs

When auditing occurs, a log message is printed in the output of a program. This is integrated with CloudWatch, the logging solution provided by AWS, and CloudTrail, the auditing solution that AWS provides.

Kubernetes logs on CloudWatch

By using CloudWatch, we can browse the Kubernetes logs. Suppose we created a secret called audit-test. We can search for any operations on Logs Insights (https://console.aws.amazon.com/cloudwatch/home?logsV2%3Alogs-insights=#logsV2:logs-insights). We can use the following log:

fields @timestamp, @message, @logStream, ...
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