question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Key Vault support for .NET RSA Crypto primitives

See original GitHub issue

Many applications in .NET need an RSA derived object for their crypto functions. Today, there is no built-in way of doing this with keys/certificates stored in Key Vault. I have written an implementation for this, but I believe it belongs in this SDK.

Key Vault does have its own crypto abstractions, but that does not address the need to use Key Vault in places that are not “key vault crypto” aware.

I’m happy to discuss API names, shapes, parameters, but I have this working already here: https://github.com/novotnyllc/RSAKeyVaultProvider

The RSAKeyVault enables you to use secrets and certificates stored in an Azure Key Vault for performing signing and decryption operations. (Encrypt and verify can be done locally with the public key material.) The type derives from RSA so can be used anywhere an AsymmetricAlgorithm can be, including with SignedXml types.

I would like to contribute this as a PR into the Key Vault SDK but wanted to start a discussion here before sending a PR.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
heathscommented, Sep 24, 2019

Reopening. Apologies for the misunderstanding. I think what would make sense for both performance and cost-savings is to provide a wrapper around CryptographyClient that extends AsymmetricAlgorithm or SymmetricAlgorithm since we support RSA, EC, and - soon - AES.

1reaction
heathscommented, Oct 27, 2021

I’ve removed the help wanted tag since you’re going to work on it. As for milestone, we don’t have any created for February yet, which seems like a likely candidate.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Key types, algorithms, and operations - Azure Key Vault
Key Vault supports two resource types: vaults and managed HSMs. Both resources types support various encryption keys.
Read more >
Applied Cryptography in .NET and Azure Key Vault
Teaches you how to go beyond the official documentation to combine all the cryptographic primitives effectively to create a complete solution.
Read more >
Applied Cryptography in .NET and Azure Key Vault: A ...
Benefit from Microsoft's robust suite of security and cryptography primitives to create a complete, hybrid encryption scheme that will protect your data ...
Read more >
Protecting Encryption Keys with Azure Key Vault - YouTube
Azure Key Vault uses the power of Hardware Security Modules (HSM's) to protect your ... Securing Microsoft 365 Data with Service Encryption.
Read more >
A primer on protecting keys and secrets in Microsoft Azure
These primitives offer fascinating models to manage performance and ... RSA: Cryptographic operations using RSA Key Vault keys execute in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found