feat: make secret version destruction explicit
Rather than have sanctuary default to destroying all older versions of a secret, make the default behaviour to *keep* old versions. Instead, add a new command `sanctuary destroy-old-versions` which can be used to destroy older versions of secrets once an application has been fully updated. The reasons for this are outlined in more detail in #31. Closes #31
Showing
- CHANGELOG.md 4 additions, 0 deletionsCHANGELOG.md
- docs/sanctuary.md 13 additions, 4 deletionsdocs/sanctuary.md
- logan/sanctuary/basesecret.py 4 additions, 0 deletionslogan/sanctuary/basesecret.py
- logan/sanctuary/google.py 10 additions, 7 deletionslogan/sanctuary/google.py
- logan/sanctuary/settings.py 20 additions, 0 deletionslogan/sanctuary/settings.py
- logan/sanctuary/tool.py 7 additions, 5 deletionslogan/sanctuary/tool.py
- pyproject.toml 1 addition, 1 deletionpyproject.toml
- tests/test_sanctuary_destroy_old_versions.py 43 additions, 0 deletionstests/test_sanctuary_destroy_old_versions.py
Loading
Please register or sign in to comment