certwrangler.reconcilers module#
- certwrangler.reconcilers.reconcile_all(config: Config) bool[source]#
Loops through all the accounts and certs in the config and triggers reconciliation.
- Parameters:
config – The initialized instance of
certwrangler.models.Config.- Returns:
A bool indicating if all object reconciled without error.
- certwrangler.reconcilers.reconcile_account(account: Account, state_manager: StateManager) bool[source]#
Reconcile an account’s state. This ensures an account is created on the remote acme server and that our contact info is correct.
- Parameters:
account – The
certwrangler.models.Accountto be reconciled.state_manager – The
certwrangler.models.StateManagerto be used to save changes.
- Returns:
A bool indicating if the account reconciled without error.
- certwrangler.reconcilers.reconcile_cert(cert: Cert, state_manager: StateManager) bool[source]#
Reconcile a cert’s state. This ensures an order for the cert is submitted if needed and handles triggering renewals and publishing to the stores.
- Parameters:
cert – The
certwrangler.models.Certto be reconciled.state_manager – The
certwrangler.models.StateManagerto be used to save changes.
- Returns:
A bool indicating if the cert reconciled without error.