Issues a certificate and private key for a role: POST <mount>/issue/<role>.
Serials of all stored certificates; [] when there is none.
The CA chain as PEM text (GET <mount>/ca_chain, raw PEM).
A certificate by serial; NotFoundError when unknown.
Revokes a certificate by serial (aa:bb:...). Unknown serials raise ValidationError.
Signs a PEM CSR for a role: POST <mount>/sign/<role>.
Starts a tidy run (POST <mount>/tidy, 202) and, unless wait: false, polls
tidy-status until it is Finished, Error or Cancelled. Returns the last status.
Current tidy progress: GET <mount>/tidy-status.
PKI engine on one mount:
client.pki(mount = "pki").