-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[FEATURE REQ] [Blob Storage] Return properties of blob uploaded using EncryptedBlobClient #10685
Comments
Hi, @SukruthKS. Thank you for reporting this. We should be able to make this update. Can you let us know the urgency of this request and if it is a blocker for you right now so we can prioritize it appropriately? For future dev reference: This upload method is actually inherited from BlobClient, and that method doesn't return a BlobItem because it uploads by internally writing to a BlobOutputStream, which doesn't give any of these properties back. We should be able to resolve this issue by having the BlobOutputStream store these properties either on the create (Append and Page) or on the commit (Block) and then allowing the customer to get those properties in one of two ways. 1. We can add another overload of |
We should also probably take this opportunity to address #8822 while we're at it. |
Hello @rickle-msft,
It's not a blocker right now and getting around it by making another request to fetch the properties. We are still in the testing phases for upgrading the storage SDK. |
Thank you for that information. Given that it's early in the month, I think there's a good chance we can get this in for the June release (May just happened), though that may change based on some work for upcoming service features. I'll keep you posted, and please let us know if this in any way approaches becoming a blocker for you. |
Hey @rickle-msft, this has now become a blocker. I just discovered some application code paths which have write-only credentials to storage so I cannot make that additional call to download blob properties. Also, as per our discussion in #11231, I'll be using |
Is your feature request related to a problem? Please describe.
I use synchronous version of the blob clients in the storage SDK (v12.6.0). When a blob is uploaded using
BlockBlobClient
, it returns aBlockBlobItem
that contains the properties of the uploaded blob like content MD5, ETag etc. But whenEncryptedBlobClient
is used instead for client-side encrypting the blob before uploading, it does not return these properties. So I have to make an additional call to download these properties.Describe the solution you'd like
Expose the properties returned by the storage service with the
PUT
request so the application doesn't have to make an additional call.Describe alternatives you've considered
I couldn't find an alternative that avoids additional calls.
Additional context
Signature of upload API exposed by
BlockBlobClient
:Signature of upload API exposed by
EncryptedBlobClient
: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
The text was updated successfully, but these errors were encountered: