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

Client-side encryption no longer alters user-provided metadata #25133

Merged

Conversation

jaschrep-msft
Copy link
Member

Client-side encryption adds a field to blob metadata on upload, containing all the encryption metadata so the SDK knows how to decrypt on download. Previously, it added the field to the caller-provided IDictionary<string, string> before uploading that dictionary as metadata, but the SDK should not modify caller-provided objects.

The dictionary is now cloned when using client-side encryption, and the metadata is added to the clone.

@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Nov 4, 2021
@jaschrep-msft
Copy link
Member Author

Resolves #24801

@jaschrep-msft jaschrep-msft merged commit 6ddd0e3 into Azure:main Nov 4, 2021
@jaschrep-msft jaschrep-msft deleted the storage/fix/encryptionmedatata branch August 3, 2022 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants