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.

[QUERY] Client side encryption using `azure-storage-blob-cryptography` library

See original GitHub issue

Query/Question We are currently using client side encryption functionality provided in v8 SDK. I’m upgrading our application to use v12 and I have a few questions/issues:

  • Passing a key to EncryptedBlobClient requires implementing AsyncKeyEncryptionKey interface. Are there any existing implementations I can use? With v8, we were using SymmetricKey class provided in com.microsoft.azure.keyvault.cryptography.

  • EncryptedBlobClient does not support uploading a blob from a stream like in BlockBlobClient. It only supports uploading from a file. Is there a way to do it using a stream? I’d prefer not to create files on disk just to do this.

  • EncryptedBlobClient cannot be created from BlobContainerClient like other clients (e.g., BlockBlobClient). In our application, we’d initialize BlobServiceClient once and derive other clients like container or blob depending on the access needs. Since EncryptedBlobClient requires full standalone construction, I either need to cache credentials (all supported types as any of them could be used) or always create EncryptedBlobClient when creating BlobServiceClient even if client side encryption is not going to be used.

  • Client side encryption feature was seamlessly integrated in v8 compared to v12. Depending on whether a blob needs to be encrypted, I’d have to use two different clients in v12 whereas in v8 I just have to set BlobEncryptionPolicy in upload options.

Why is this not a Bug or a feature Request? NA

Setup (please complete the following information if applicable):

  • OS: Linux
  • IDE : IntelliJ
  • Version of the Library used: 12.0.0

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Query Added
  • Setup information Added

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

0reactions
SukruthKScommented, Mar 4, 2020

Sounds good. Thanks Rick!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Client-side encryption for blobs - Azure Storage | Microsoft Learn
The Blob Storage client library supports client-side encryption and integration with Azure Key Vault for users requiring encryption on the client.
Read more >
Protecting data using client-side encryption
Client -side encryption is the act of encrypting your data locally to ensure its security as it passes to the Amazon S3 service....
Read more >
About client-side encryption | Cloud SQL for MySQL
Client -side encryption is the act of encrypting data before writing it to Cloud SQL. You can encrypt Cloud SQL data in a...
Read more >
Queryable Encryption & Client-Side Field Level ... - MongoDB
Queryable Encryption supports, or is planned to support in the future, exact match (equality), range, prefix, suffix and substring queries on ...
Read more >
Client-Side Field Level Encryption - PyMongo - Read the Docs
For detailed installation instructions see the MongoDB documentation on Automatic Encryption Shared Library. mongocryptd¶. The mongocryptd binary is required ...
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