- Open generate-delete-commands.sh and update envs_to_delete variable to include the list of environments that you wish to generate delete commands for (i.e. DEV, SAI, PROD).
- Login to Vault on CLI
- Run the following to generate delete commands
./generate-delete-commands.sh
- Validate the list of generated delete commands to ensure it is only generating commands for expected secrets
- Run the delete commands in a terminal or shell script
-
Notifications
You must be signed in to change notification settings - Fork 0
joe-tito/hashicorp-vault-recursive-secret-delete
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Generate commands to recursively delete secrets from Vault by path
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published