Ottr ACME Client Python Wrapper
Project description
Ottr ACME Client
otter-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.
import acme
# Query Subject Alternative Names
subject_alternative_names = acme.query_subject_alternative_names(hostname=hostname, table=table)
# ACME Client
le_client = acme.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 = acme.query_certificate_expiration(hostname=hostname)
# Update Expiration
acme.update_certificate_expiration(expiration)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
test-acme-abnb-0.0.5.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file test-acme-abnb-0.0.5.tar.gz
.
File metadata
- Download URL: test-acme-abnb-0.0.5.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f966468f39af09c99dcfd700981bfc020db89a86629c3388b2621bd70f3f312 |
|
MD5 | 7362c1c60199cb63e26ac66f2bb2959b |
|
BLAKE2b-256 | 33abc8d3a6f98e5c152f1be62f00df18cd4fa7caf91442e6e6c0cdcd044b3f25 |
File details
Details for the file test_acme_abnb-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: test_acme_abnb-0.0.5-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e21d0a06f961bde1b72d19187c4adb0fc6af57f3956298262e164d0991d9fd23 |
|
MD5 | 364bc33331cd1229f02c2a19067f9942 |
|
BLAKE2b-256 | 765c91c2877ad10269d6b909715665090e1862ac4a25ae9752b78bd28bae2cb1 |