Skip to main content

Ottr ACME Client Python Wrapper

Project description

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.

# 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)

Project details


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.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

test_acme_abnb-0.0.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file test-acme-abnb-0.0.1.tar.gz.

File metadata

  • Download URL: test-acme-abnb-0.0.1.tar.gz
  • Upload date:
  • Size: 8.5 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

Hashes for test-acme-abnb-0.0.1.tar.gz
Algorithm Hash digest
SHA256 96485d21f448ea9916b47e2fb332dfec219c9944cb8421a96f6c3aec2bddef4f
MD5 c7f7eeefd75e3a0fb8283018959e7e01
BLAKE2b-256 1f5326a9487227d275bf53f0e612fb25153599e9b9d103568ddd4d61de809e9e

See more details on using hashes here.

File details

Details for the file test_acme_abnb-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: test_acme_abnb-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.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

Hashes for test_acme_abnb-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 06e72e73aa824821308f1b4b079c18dd4a217397f44d80d8890b63a6f0974ec1
MD5 f3475f5435656e81982b646269ed4e41
BLAKE2b-256 f043247f253864769a1566b52a86b5f2d5fd8f92757bb742b1586bcfafc60b4d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page