Dump secrets to a file

k8sec

  • Command-line interface tool to manage Kubernetes secrets.
    More information: <https://github.com/dtan4/k8sec>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

k8sec dump -f {{path/to/file}} {{secret_name}}

click the source code to copy