Barts-Life-Science / AzureTRE

An accelerator to help organizations build Trusted Research Environments on Azure.
https://microsoft.github.io/AzureTRE
MIT License
0 stars 0 forks source link

temporary fix windows storage keys #163

Closed TonyWildish-BH closed 1 week ago

TonyWildish-BH commented 1 week ago

Fixes #69

What is being addressed

When a randomly-generated shared storage key begins with a '/', Windows interprets this as the start of a string option, not as a value.

How is this addressed

The simple fix is to check the key to see if it begins with a '/'. If so, use the second key. That reduces the collision rate by a significant amount, but doesn't completely solve the problem. To solve it, the storage account keys need to be checked when the storage account is created, at workspace-creation time.

github-actions[bot] commented 1 week ago

Unit Test Results

0 tests   0 :white_check_mark:  0s :stopwatch: 0 suites  0 :zzz: 0 files    0 :x:

Results for commit 00d0c108.