-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: azure-key-vault
driver
#159
Conversation
azure-key-vault
driver
azure-key-vault
driverThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me! what about something like https://github.com/peveuve/ms-vault-mock for testing?
Co-authored-by: Daniel Roe <[email protected]>
Co-authored-by: Daniel Roe <[email protected]>
Co-authored-by: Daniel Roe <[email protected]>
Co-authored-by: Daniel Roe <[email protected]>
Great find, I will check that. The main problem would be that it hides the actual slowness of Azure Kay Vault, but for unit testing it's great. |
I tested that and it's quite complex to get it to run with the current version of Key Vault packages, as you have to generate cert pairs, disable HTTPS validation and create some workaround due so recent API changes. The package wasn't updated for two years, which means there are a lot of old and complex dependencies from lodash to express and the Key Vault API itself is also old and has no support for purge and soft delete. |
azure-key-vault
driver
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks (also skipping tests for now. trusting it works as expected)
The only thing about this driver (different to my other PRs) is that Azure Key Vault is a very slow service. The clear action can take a minute, although I tried to make it at least a little better with concurrency. |
Slowness is okay and i guess somehow expected for encryption. As long as we can test locally we can add some additional tests only running in CI. |
No description provided.