Skip to main content

A plugin for Lemur that allows users to import existing CA certificates into the system.

Project description

lemur-ca-import

A Lemur plugin that allows users to import existing CA certificates into the system, which can then be used to issue certificates without interacting with remote systems.

Installation

Install from PyPI:

pip install lemur-ca-importer

Or from source in development mode:

pip install -e .

With test dependencies:

pip install -e '.[tests]'

Testing

Run the test suite:

python -m pytest

Building

Build distributions locally:

python -m build

This generates both sdist and wheel in dist/.

To control the package version, set the CA_IMPORTER_VERSION environment variable:

CA_IMPORTER_VERSION=1.2.3 python -m build

Publishing

The package uses GitHub Actions for automated CI/CD:

  • PR builds (.github/workflows/pr-build.yml): Tests and builds on each PR targeting main. Artifacts are uploaded and linked in the PR.
  • Release publishing (.github/workflows/release.yml): Tests, builds, and publishes to PyPI on each GitHub release. Uses OIDC trusted publishing (no long-lived tokens).

Usage

The CAImporterPlugin is registered as a Lemur issuer plugin via entry point ca_importer. Configure it in Lemur by providing:

  • public_certificate: External CA certificate in PEM format
  • private_key: External CA private key in PEM format

The plugin creates an authority bound to the imported CA certificate and generates admin/operator roles.

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

lemur_ca_import-0.0.1rc4.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lemur_ca_import-0.0.1rc4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file lemur_ca_import-0.0.1rc4.tar.gz.

File metadata

  • Download URL: lemur_ca_import-0.0.1rc4.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for lemur_ca_import-0.0.1rc4.tar.gz
Algorithm Hash digest
SHA256 2fb9a488867553ccc6f2dbd60afc1ff0e478df9b4b6f63fb079ad6b5765f5638
MD5 89a6f57f58ba4e2037ed5ff6755318ee
BLAKE2b-256 925e913b79a681b5ad8c1afbf7f376eca893f0278d7b6968d6d3e735524d4152

See more details on using hashes here.

Provenance

The following attestation bundles were made for lemur_ca_import-0.0.1rc4.tar.gz:

Publisher: release.yml on desmaraisp/lemur-ca-import

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lemur_ca_import-0.0.1rc4-py3-none-any.whl.

File metadata

File hashes

Hashes for lemur_ca_import-0.0.1rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 2a8879ccfe237edfc9c00492c563f417695b074be3e777715e20aba54c76b1be
MD5 9901b284158e8427fec79af9b5c75edc
BLAKE2b-256 1102eace0097a48ec69520ee4a8835a31a2c9f93f7433ae028c355bc9c69c746

See more details on using hashes here.

Provenance

The following attestation bundles were made for lemur_ca_import-0.0.1rc4-py3-none-any.whl:

Publisher: release.yml on desmaraisp/lemur-ca-import

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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