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

Refactor raw PKI fetch endpoints #14813

Closed
wants to merge 1 commit into from

Commits on Apr 4, 2022

  1. Refactor raw PKI fetch endpoints

    Various endpoints (/ca, /crl, /ca_chain, /certs) all use the same core
    handling logic with a complicated per-path detection logic of which to
    return. Refactor out the common response formatting code, but let each
    API handler be distinct to provide the right storage reference.
    
    This refactors just the raw path (/ca, /crl, /ca_chain, and
    /cert/*/raw{,/pem}).
    
    Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
    cipherboy committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    1d06b27 View commit details
    Browse the repository at this point in the history