Kubernetes secret editor
Lists secrets in current namespace
$ ksecret
somesecret
configfilessecret
Opens specified secret in your configured editor (based on env var EDITOR)
$ ksecret edit somesecret
List the keys in specified secret
$ ksecret editfile configfilessecret
config.json
secret.key
Opens a single key from specified secret in configured editor with key as name to trigger vim syntax highlighting (based on name)
$ ksecret editfile config.json