Skip to main content

Incredibly naivé program to read secrets from a kubernettes cluster

Project description

# SeKube a dumb program to show kubernetes secrets

It does two things:
  • It lists kubernetes secrets

  • It prints kubernetes secrets

KubeCTL is fine and dandy but when you are doing OPS and some one asks you “we can’t get it to work, can you confirm the content of this secret” or “could you check the certificate in this secret and see if you can figure out what is wrong..” you have to do this little dance with kubectl [blah] -o json | jq -r .data[] |base64 -d and it gets quite tedious after a while. This script aims to be stupid and simple and just simplify those steps.

It supports tab-completion, add eval “$(_SEKUBE_COMPLETE=bash_source sekube)” to your .bashrc to enable it

### Why is it called sekube? and not kube-secrets or similar ? Because I use ku-<TAB> as a shortcut for kubectl waay to ofte to want to have things interfearing with that (yes I could create an alias for kubectl, but I wont)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sekube-0.1.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page