[Storage] added headers to redirect cleanup logic - #48771
Open
anjaliratnam-msft wants to merge 1 commit into
Open
[Storage] added headers to redirect cleanup logic#48771anjaliratnam-msft wants to merge 1 commit into
anjaliratnam-msft wants to merge 1 commit into
Conversation
anjaliratnam-msft
requested review from
Jacob Lauzon (jalauzon-msft),
vincenttran-msft and
Peter Wu (weirongw23-msft)
as code owners
August 26, 2026 20:11
|
Azure Pipelines: Successfully started running 1 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
Expands cross-domain redirect cleanup to prevent customer-provided encryption keys from being forwarded.
Changes:
- Adds four encryption headers to all Storage cleanup policies.
- Extends Blob redirect tests to verify their removal.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
azure-storage-queue/.../policies.py |
Adds encryption headers to cleanup defaults. |
azure-storage-file-share/.../policies.py |
Adds encryption headers to cleanup defaults. |
azure-storage-file-datalake/.../policies.py |
Adds encryption headers to cleanup defaults. |
azure-storage-blob/.../policies.py |
Adds encryption headers to cleanup defaults. |
azure-storage-blob/tests/test_sensitive_redirect.py |
Tests cleanup of the added headers. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Jacob Lauzon (jalauzon-msft)
approved these changes
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added the following encryption headers to the redirect cleanup logic:
x-ms-encryption-keyx-ms-encryption-key-sha256x-ms-source-encryption-keyx-ms-source-encryption-key-sha256