Skip to content

wslaghekke/ksecret

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ksecret Build Status

Kubernetes secret editor

Commands

List secrets

Lists secrets in current namespace

$ ksecret
somesecret
configfilessecret

Edit secret

Opens specified secret in your configured editor (based on env var EDITOR)

$ ksecret edit somesecret

List secret keys

List the keys in specified secret

$ ksecret editfile configfilessecret
config.json
secret.key

Edit secret file

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