manintheit.org

manintheit.org


walk.sh(HC Vault)

walk.sh script helps you print all secrets inside the KV type secret engine. You can extend the script to search for specific content. For example checking expire date of TLS certificates in your Vault before they expire.

You can find walk.sh in my GH repo.

$ ./walk.sh
kv/global/shell/global
kv/global/shell/infra
secret/a
secret/certs/dragon
secret/global/opsgenie/jenkins
secret/global/slack/ocp-alerts
secret/global/slack/prod
secret/global/slack/test
secret/openshift/prod
secret/openshift/prod/ingress
secret/openshift/test

You can find how-to in the repo.



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.