Allow x509 Service CA implementation to be injected through ca and authority options #1684
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Name of feature:
Dependency injection of an externally implemented X509 CA.
Pain or issue this feature alleviates:
Step-ca currently supports 3 types of X509 CA implementations (Vault CA, another Step-CA or Google Cloud CA). For folks who have their own CA implementation and protocol, there's no flexibility to inject such custom code. This PR makes small additions to the Options for CA and Authority and allows the Application to provide a custom X509 CA Service interface.
Is there documentation on how to use this feature? If so, where?
Not yet - but happy to update the sample application in this repository, include tests and include documentation if this feature is of interest.
In what environments or workflows is this feature supported?
Anyone using step-ca as an integrated library
Test
💔Thank you!