Skip to content
This repository has been archived by the owner on Jun 13, 2020. It is now read-only.

backend ttls! #150

Merged
merged 6 commits into from
Oct 18, 2017
Merged

backend ttls! #150

merged 6 commits into from
Oct 18, 2017

Conversation

otakup0pe
Copy link
Contributor

@otakup0pe otakup0pe commented Oct 15, 2017

This brings #101, #86, and #110 into play. Ad-Hoc backend creation is now no longer a thing, however it will still work for Generic secrets (albeit with a deprecation warning). It will no longer work for UserPass. Note that you can only adjust the mount tune parameters on Vault versions 0.7.0 and above.

This PR also introduces a slightly tighter linking between certain flavours of Resource and appropriate VaultBackend implementations. Not super happy about it, and I think that it should probably get cleaned (maybe making backends full-on Resource implementations).

Before this gets merged I want to do the following

  • add more tests on diff actions
  • tests around mount tuning crud for all backends
  • ensure both old/new mount patterns are tested
  • update docs

@otakup0pe otakup0pe merged commit 25aac7b into Autodesk:master Oct 18, 2017
@@ -249,11 +249,12 @@ def dict_unicodeize(some_dict):
return some_dict


def diff_dict(dict1, dict2):
def diff_dict(dict1, dict2, ignore_missing=False):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I needed something similar for the CloudOS health checker, and used the DeepDiff library. YMMV.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants