certwrangler.stores.local module#
- class certwrangler.stores.local.LocalStore(*, driver: Literal['local'], path: Path)[source]#
Bases:
StoreLocal storage driver.
- driver: Literal['local']#
- path: Path#
- initialize() None[source]#
Create the target directory if it does not already exist.
- Raises:
StoreError – Raised on errors when creating the directory defined by
path.
- publish(cert: Cert) None[source]#
Publish the cert, key, chain and fullchain to the target directory. This will update the files if the contents changed, no-op otherwise.
- Raises:
StoreError – Raised on errors creating, reading, or writing files under the directory defined by
path.
- model_config#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].