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.1.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.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lemur_ca_import-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 8dfc8357433ff3f5f26145fdf997430cdfd49bdf38c0beef3165d83b47a2457a
MD5 d7dc5fb1642919f3e63a06ccd17c81ed
BLAKE2b-256 d5079dfcbca81413bfad9302f8364bb5f4f6a1923c7dc40bc41ed94de23b5988

See more details on using hashes here.

Provenance

The following attestation bundles were made for lemur_ca_import-0.0.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lemur_ca_import-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa9c14459c49ca2d9f3e10f399507ae9e652654070136b3e410f8a486de74f1b
MD5 016eafb860666d808bfbf2ebf32e5c22
BLAKE2b-256 9cb64361fc9203d33a396893b32ba3f3da404b489553e1ca4afeb87ed44b6905

See more details on using hashes here.

Provenance

The following attestation bundles were made for lemur_ca_import-0.0.1-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