Metadata-Version: 2.4
Name: certbot-dns-realtimeregister
Version: 0.1.3
Summary: Realtime Register DNS Authenticator plugin for Certbot
Author: PJ
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/PJEilers/certbot-realtimeregister-dns
Project-URL: Issues, https://github.com/PJEilers/certbot-realtimeregister-dns/issues
Keywords: certbot,letsencrypt,dns-01,acme,realtimeregister
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Plugins
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Internet :: Name Service (DNS)
Classifier: Topic :: Security
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: certbot>=2.0
Requires-Dist: requests>=2.20
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: requests-mock; extra == "test"
Dynamic: license-file

# certbot-dns-realtimeregister

[Certbot](https://certbot.eff.org/) DNS authenticator plugin for
[Realtime Register](https://www.realtimeregister.com/). It completes `dns-01`
challenges by adding and then removing `_acme-challenge` TXT records through
the [Realtime Register API](https://dm.realtimeregister.com/docs/api/), which
also lets you issue wildcard certificates.

## Installation

```bash
pip install certbot-dns-realtimeregister   # or: pip install -e . from a checkout
certbot plugins                             # should list dns-realtimeregister
```

## Credentials

Create an API key (the user bound to the API key needs the `UPDATE_DNS_ZONE` permission)
on your profile page in the Realtime Register portal
(see [Access and Authentication](https://dm.realtimeregister.com/docs/api/access)),
then copy [`credentials.ini.example`](credentials.ini.example) and fill in your key:

```ini
dns_realtimeregister_api_key = <your-api-key>
# Optional, defaults to production (https://api.yoursrs.com).
# dns_realtimeregister_api_url = https://api.yoursrs-ote.com
```

```bash
chmod 600 ~/.secrets/certbot/realtimeregister.ini
```

## Usage

```bash
certbot certonly \
  --authenticator dns-realtimeregister \
  --dns-realtimeregister-credentials ~/.secrets/certbot/realtimeregister.ini \
  -d example.com -d '*.example.com'
```

| Option | Description |
|---|---|
| `--dns-realtimeregister-credentials` | Path to the credentials INI file (required) |
| `--dns-realtimeregister-propagation-seconds` | Seconds to wait for DNS propagation (default: 60) |

## Development

```bash
python3 -m venv .venv
.venv/bin/pip install -e '.[test]'
.venv/bin/pytest
```
