hashicorp / vault-plugin-secrets-azure

Vault Azure Secrets plugin
Mozilla Public License 2.0
26 stars 19 forks source link

Fix segfault when config is nil #75

Closed jasonodonnell closed 3 years ago

jasonodonnell commented 3 years ago

If config is nil (backend is enabled but not yet configured), the periodic function will fail because it does not check if the config is nil. Added a guard and a test to cover this case.