# `letsencrypt.configuration`

Let’s Encrypt user-supplied configuration.

class `letsencrypt.configuration.``NamespaceConfig`(namespace)

  Bases: `object`

  Configuration wrapper around `argparse.Namespace`.

  For more documentation, including available attributes, please see `letsencrypt.interfaces.IConfig`. However, note that the following attributes are dynamically resolved using `work_dir` and relative paths defined in `letsencrypt.constants`:

  > - `accounts_dir`
  > - `csr_dir`
  > - `in_progress_dir`
  > - `key_dir`
  > - `renewer_config_file`
  > - `temp_checkpoint_dir`

  Variables: | namespace – Namespace typically produced by `argparse.ArgumentParser.parse_args()`.

  `server_path`

    File path based on `server`.

class `letsencrypt.configuration.``RenewerConfiguration`(namespace)

  Bases: `object`

  Configuration wrapper for renewer.

`letsencrypt.configuration.``check_config_sanity`(config)

  Validate command line options and display error message if requirements are not met.

  Parameters: | config – IConfig instance holding user configuration