square/keywhiz

Investigate if SecretDAO.deleteSecretsByName should also delete the contents of all the secrets.

alokmenghrajani opened this issue · 0 comments

deleteSecretByNameAndVersion calls into SecretContentDAO. Should SecretDAO.deleteSecretsByName do the same?

Also, can we leverage cascading deletes in the database to simplify the code?