https://github.com/frankwiles/kube-secrets
Rust command line utility to quickly display useful secrets in a Kubernetes namespace
https://github.com/frankwiles/kube-secrets
command-line-tool rust
Last synced: 6 months ago
JSON representation
Rust command line utility to quickly display useful secrets in a Kubernetes namespace
- Host: GitHub
- URL: https://github.com/frankwiles/kube-secrets
- Owner: frankwiles
- License: bsd-3-clause
- Created: 2021-09-06T21:09:50.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2026-01-15T11:03:40.000Z (6 months ago)
- Last Synced: 2026-01-15T15:52:20.426Z (6 months ago)
- Topics: command-line-tool, rust
- Language: Rust
- Homepage:
- Size: 144 KB
- Stars: 16
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
For Mac OSX:
```shell
$ brew install frankwiles/tools/kube-secrets
```
or build it from source:
```shell
$ 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)
```shell
$ secrets fakespace
```

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

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