Skip to content

Commit 8c726ac

Browse files
Scrub batch shared keys (#17030)
* Batch operation shared key scrubber support * Batch operation shared key scrubber support * added regex to scrub keys * rerecorded shared key tests
1 parent 5b06b6e commit 8c726ac

17 files changed

+1566
-1459
lines changed

sdk/storage/azure-storage-blob/tests/_shared/testcase.py

+4
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ def create_resource(self, name, **kwargs):
104104
storage_account.name,
105105
"storagename"
106106
)
107+
self.test_class_instance.scrubber.register_name_pair(
108+
":.{43}=\r",
109+
":fake_shared_key=\r"
110+
)
107111
else:
108112
name = "storagename"
109113
storage_account.name = name

0 commit comments

Comments
 (0)