Skip to content

Commit

Permalink
storage account: set allow_shared_key_access as false when create new…
Browse files Browse the repository at this point in the history
… storage accounts
  • Loading branch information
LiliDeng committed May 24, 2024
1 parent 691cb60 commit 745d6d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lisa/sut_orchestrator/azure/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1697,6 +1697,7 @@ def check_or_create_storage_account(
sku: str = "Standard_LRS",
kind: str = "StorageV2",
enable_https_traffic_only: bool = True,
allow_shared_key_access: bool = False,
) -> None:
# check and deploy storage account.
# storage account can be deployed inside of arm template, but if the concurrent
Expand All @@ -1718,6 +1719,7 @@ def check_or_create_storage_account(
kind=kind,
location=location,
enable_https_traffic_only=enable_https_traffic_only,
allow_shared_key_access=allow_shared_key_access,
)
operation = storage_client.storage_accounts.begin_create(
resource_group_name=resource_group_name,
Expand Down

0 comments on commit 745d6d3

Please sign in to comment.