diff --git a/certbot_vault/plugin.py b/certbot_vault/plugin.py index 814efee..2b05c09 100644 --- a/certbot_vault/plugin.py +++ b/certbot_vault/plugin.py @@ -189,3 +189,11 @@ def config_test(self): # pylint: disable=missing-docstring,no-self-use def restart(self): # pylint: disable=missing-docstring,no-self-use pass # pragma: no cover + + def renew_deploy(self, lineage, *args, **kwargs): # pylint: disable=missing-docstring,no-self-use,unused-argument + """ + Renew certificates when calling `certbot renew` + """ + self.deploy_cert(lineage.names()[0], lineage.cert_path, lineage.key_path, lineage.chain_path, lineage.fullchain_path) + +interfaces.RenewDeployer.register(VaultInstaller)