jonasvinther / medusa

A cli tool for importing and exporting Hashicorp Vault secrets
MIT License
482 stars 62 forks source link

feature: display only secrets' keys, not their value #131

Closed dmpe closed 2 months ago

dmpe commented 1 year ago

Hi, I would like to have an option which will be enable me to display only keys but not their values.

The use case would be get a quick overview of what is being stored, without the need for searching exporting KV store with their values.

E.g.:

$ medusa export -h
> Flags:
>  -k, --keys-only              Display only secrets' keys but not their values
$ medusa export kubernetes -k
kubernetes:
  github:
    secret1: hidden
    secret2: hidden
    ...