Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Python API to support REST API v2 #4900

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 12, 2024

  1. Update Python API to support REST API v2

    The PKIClient class has been added to replace PKIConnection
    as the main access point to PKI services. By default it will
    use REST API v2, then fall back to v1 if it's not available.
    Optionally, PKIClient can be configured to use a specific
    REST API version.
    
    The InfoClient, CertClient, AccountClient, and UserClient
    classes have been added/updated to construct the proper REST
    URL according to the REST API version in PKIClient.
    
    The pki-healthcheck has been updated to use PKIClient. Some
    simple Python scripts have also been added to demonstrate
    how to use PKIClient.
    
    New tests have been added to run these scripts against the
    current CA and KRA which support both REST API v1 and v2
    and also against an older CA that only supports REST API v1.
    edewata committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    601574f View commit details
    Browse the repository at this point in the history