Metadata-Version: 2.1
Name: test-acme-abnb
Version: 0.0.2
Summary: Ottr ACME Client Python Wrapper
Home-page: https://github.com/yangkenneth/ottr-package
Author: Kenneth Yang
Author-email: kenneth.yang8@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

## Ottr ACME Client

`ottr-acme` is a Python wrapper around `acme.sh` that handles the certificate
signing process for Certificate Authorities that support the ACME protocol. This
package is utilized when building a container on top of the Airbnb Ottr Core
Platform.

```py
# Query Subject Alternative Names
subject_alternative_names = otter.query_subject_alternative_names(hostname=hostname, table=table)

# ACME Client
le_client = otter.LetsEncrypt(hostname=hostname, subdelegate=dns,
subject_alternative_names=subject_alternative_names, region=region_name)

# Local Development
le_client.acme_local(csr={csr_path})

# Container Development
le_client.acme_development(csr={csr_path})

# Container Production
le_client.acme_production(csr={csr_path})

# Query Certificate from Device
expiration = otter.query_certificate_expiration(hostname=hostname)

# Update Expiration
otter.update_certificate_expiration(expiration)
```


