Skip to content

OutdatedVersion/kubesecret

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubesecret

Secrets on Kubernetes are cumbersome to view with the vanilla tooling; this provides a way to quickly see the content of your secrets.

$ kubesecret hushhush
GENERAL: Kenobi
POSTGRES_CONNECTION_STRING: postgres://user:pass@example.com/database
$ kubesecret hushhush postgres connection string
postgres://user:pass@example.com/database

given the following secret:

apiVersion: v1
kind: Secret
type: Opaque
metadata:
  name: hushhush
data:
  GENERAL: S2Vub2Jp
  POSTGRES_CONNECTION_STRING: cG9zdGdyZXM6Ly91c2VyOnBhc3NAZXhhbXBsZS5jb20vZGF0YWJhc2U=

Installation

Grab the latest release from the list and add it to your path.

Wish List

  • Support other secret types
  • Support more than the default namespace
  • Support a custom delimiter shortcut for the keyed argument
  • Directly communicate with Kubernetes API

Alternatives