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

Support using private keys that are not stored in files. #223

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

tmds
Copy link
Owner

@tmds tmds commented Sep 5, 2024

This enables the key store use-case described in #205 (comment).

This adds support for implementing such keys by deriving from PrivateKeyCredential.

We re-use the BCL RSA and ECDsa classes as abstractions for the key operations.

The implementation can be enhanced latter on by introducing our own abstractions for the key types. This would enable async key operations, and supporting key types the BCL has no abstraction for (like ED25519).

@jborean93 ptal.

@tmds
Copy link
Owner Author

tmds commented Sep 11, 2024

@jborean93 would you be interested in writing up a code snippit that we can add to a howto.md that demonstrates how this may be used to implement an AzureKeyCredential?

@tmds tmds merged commit 7130d4a into main Sep 11, 2024
2 checks passed
@jborean93
Copy link
Contributor

Sure when I get time I'll look at adding that!

@tmds tmds deleted the private_key_source branch September 16, 2024 11:06
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.

2 participants