Skip to content

Conversation

@john-odonnell
Copy link
Contributor

@john-odonnell john-odonnell commented Jan 13, 2021

What does this PR do?

This PR adds the Certificate Authority endpoint /ca/{account}/{service_id}/sign to the OpenAPI spec,
along with test confirming its behavior.

The endpoint currently does not support the Accept: application/x-pem-file header, as the OpenAPI Python client generator overrides the manual header assignment.

What ticket does this PR close?

Resolves #63

Checklists

Change log

  • The CHANGELOG has been updated, or
  • This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

  • This PR includes new unit and integration tests to go with the code changes, or
  • The changes in this PR do not require tests

Documentation

  • Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
  • This PR does not require updating any documentation

@john-odonnell john-odonnell force-pushed the add-cert-auth-endpoint branch 5 times, most recently from bfdd54c to 67292c2 Compare January 15, 2021 19:49
@john-odonnell john-odonnell marked this pull request as ready for review January 15, 2021 19:57
@john-odonnell john-odonnell requested a review from a team as a code owner January 15, 2021 19:57
@john-odonnell john-odonnell requested a review from telday January 15, 2021 20:16
@john-odonnell john-odonnell force-pushed the add-cert-auth-endpoint branch 2 times, most recently from b8a1578 to 3c2a347 Compare January 19, 2021 19:57
Proves basic functionality of /ca/{account}/{service_id}/sign endpoint.
Includes Intermediate CA private keys to configure CA service.
@john-odonnell john-odonnell force-pushed the add-cert-auth-endpoint branch from 3c2a347 to 810d55a Compare January 19, 2021 20:01
After updating tests for the Conjur CA endpoint, a Roles test
had to be updated. Confirming the test's results was
generalized.
@john-odonnell john-odonnell force-pushed the add-cert-auth-endpoint branch from c17b0b4 to 157fbc9 Compare January 19, 2021 20:39
@john-odonnell john-odonnell requested a review from telday January 19, 2021 20:44
Copy link
Contributor

@telday telday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@john-odonnell john-odonnell merged commit d734ccc into main Jan 19, 2021
@john-odonnell john-odonnell deleted the add-cert-auth-endpoint branch January 19, 2021 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add certificate authority endpoint to spec file

3 participants