Skip to content

Rust command line utility to quickly display useful secrets in a Kubernetes namespace

License

Notifications You must be signed in to change notification settings

frankwiles/kube-secrets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kube-secrets

This is a command line utility for quickly looking at secrets in a Kubernetes namespace that are typically looked at by humans. It specifically hides secrets which are TLS certificates, Helm charts, and Docker credentials.

Install

$ cargo install kube-secrets

Usage

List all of the useful secrets in namespace fakespace. (These are fake secrets in a fake namespace in case you're worried)

$ secrets fakespace

Screenshot of full listing

List all of the secrets in namespace fakespace whose name contains the string token

$ secrets fakespace token

Screenshot of filtered listing

And if you mistakenly look for secrets in a namespace that doesn't actually exist, it let's you know that.

$ secrets bob

Screenshot of error message

About

Rust command line utility to quickly display useful secrets in a Kubernetes namespace

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages