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

Return revocation info within existing certs/<serial> api #17774

Merged
merged 3 commits into from
Nov 2, 2022

Conversation

stevendpclark
Copy link
Contributor

The existing /cert/<serial> endpoint already returned both the certificate and a revocation_time fields populated prior to this change.

Update the api to return revocation_time_rfc3339 as we do elsewhere and also issuer_id if it was revoked and populated.

This will allow callers to associate a revoked cert with an issuer if trying to build up an external CRL or any other use case.

 - The api already returned both the certificate and a revocation_time
   field populated. Update the api to return revocation_time_rfc3339
   as we do elsewhere and also the issuer id if it was revoked.
 - This will allow callers to associate a revoked cert with an issuer
website/content/api-docs/secret/pki.mdx Outdated Show resolved Hide resolved
@stevendpclark stevendpclark merged commit 3bac9ae into main Nov 2, 2022
@stevendpclark stevendpclark deleted the stevendpclark/vault-9716-certs-serial-api branch November 2, 2022 17:06
@stevendpclark
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants