7 Commits

Author SHA1 Message Date
Alexander Campbell
4eb921480e Use specific exception to prevent repetition 2019-10-18 10:17:45 +11:00
Alexander Campbell
381e7b165f Raise appropriate error when secret exists but has no value 2019-10-16 10:55:03 +11:00
Justin Kieber-King
bbd7fefb37 Feature: Secrets Manager put_secret_value and list_secret_version_ids (#2116)
* initial work

- adding put_secret_value and list_secret_versions

* Added support for versions in all functions except rotate_secret

* more work

- refactor rotate_secret method
  - now, adds a new version of the secret and points default version id to it
- updated implementation coverage readme
- element in list check to fix unit test
- fixed linting errors
- added tests, fixed exception, failing tests still
- secrets_manager/test_server fails when running whole suite,
  but not when running that individual test file

* fixed failing test_get_secret_value

* Removed test.py. Fixed condition statement.

* fixed default stages + adding AWSPREVIOUS

* remove old AWSPREVIOUS stages
2019-05-22 10:45:22 +01:00
Chris Kilding
97d31e9aa5 Fix flake8 2019-04-18 16:53:27 +01:00
Chris Kilding
749f4f63e6 Allow soft deletion of secrets 2019-04-18 15:44:48 +01:00
zane
6c7a22c7d7 Added get_random_password mock with tests 2018-07-18 00:27:53 -07:00
Zane Williamson
ba1ceee95f Adding create_secret, exception handle, fix (#1680) 2018-07-14 08:39:19 +01:00