-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for reading deleted secret versions (kv2) without an exception (#…
…907) * add test to verify the desired behavior * blackify * update test * nominal fix (no flag) * revert kv_v2 * add VaultError.from_status class method * add optional text and json fields to VaultError instances * update raise_for_error to incorportate new VaultError fields and class method * update RawAdapter to provide text and json in exceptions * update kv2 read_secret_version to handle latest deleted secret * we already got the text * missed some conditionals * cleanerrrr * add raise_on_deleted_version with deprecated default * add unit tests * update integration tests * fix unit syntax * refactor and test * text prop mock * blackify * who's mocking whom * update docs
- Loading branch information
Showing
7 changed files
with
326 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.