Skip to main content

Python package to create/renew certificates using azure DNS and azure KeyVault

Project description

azlet : Azure lets encrypt library

PyPI - License PyPI PyPI - Python Version

  • azlet creates SSL certificates using letsencrypt and stores them in a key vault as certificate.
  • The keyvault then can be used by azure APIM, Functions or Webservices to consume the certificates.
  • You can create new certificates, or rotate existing certificates.
  • to use azlet, you need an azure key vault an an azure DNS.
  • azlet uses azure identity to access the key vault as well as the azure dns server. You can use your identity from azure cli, managed identity or enviromnent variables.
  • azlet creates an account with letsencrypt, making sure all requests come from the same account. The account is stored in the key vault as secret.
  • azlet uses the sewer library to create certificates.

Usage

the identity that uses azlet must have secret get/set permissions as well as certificate get/list/update/create/import permissions on the key vault.

create a new certificate:

python -m azlet create --keyvault-name my-vault --dns-zone dns.zone.com --dns-subscription 11111111-1111-1111-1111-11111111111" --dns-resource-group dns --prefix test

create new certificates for all certificates that are valid less that 14 days:

python -m azlet rotate --keyvault-name my-vault --dns-zone dns.zone.com --dns-subscription 11111111-1111-1111-1111-11111111111" --dns-resource-group dns

see python -m azlet -h fro a full list of commands.

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

azlet-0.9.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

azlet-0.9.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file azlet-0.9.1.tar.gz.

File metadata

  • Download URL: azlet-0.9.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for azlet-0.9.1.tar.gz
Algorithm Hash digest
SHA256 4590c16c8e9ea553680959b31251d2e0b6d9d0a1536fd70157a42d8f0d881fd1
MD5 f9c55f893ca57a554614bf5689875497
BLAKE2b-256 661514ebe035246d156262fff92ce8d24258494768cddd08b1bcf9984cfeec5f

See more details on using hashes here.

File details

Details for the file azlet-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: azlet-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for azlet-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 71eef94146db4dc5b545bdaa9407d7b3f79f55e53368dedab498f099484a3b4c
MD5 bf6ee4fe4e075932344aed14ecd91bea
BLAKE2b-256 57765682de1e432808ad8c867024c52866cbb4193568cf1a41644b6415ffce60

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