Skip to content

Commit 96bfd71

Browse files
Merge pull request #295326 from asudbring/sfi-ropc-remediation
SFI ROPC remediation items for virtual network
2 parents b00a5ed + b2a3057 commit 96bfd71

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

articles/virtual-network/tutorial-restrict-network-access-to-resources.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -519,11 +519,7 @@ The steps required to restrict network access to resources created through Azure
519519
}
520520
$storageAcctKey = (Get-AzStorageAccountKey @storagekey).Value[0]
521521
```
522-
523-
For the purposes of this tutorial, the connection string is used to connect to the storage account. Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a high degree of trust in the application, and carries risks that aren't present in other flows. You should only use this flow when other more secure flows, such as managed identities, aren't viable.
524-
525-
For more information about connecting to a storage account using a managed identity, see [Use a managed identity to access Azure Storage](/entra/identity/managed-identities-azure-resources/tutorial-linux-managed-identities-vm-access?pivots=identity-linux-mi-vm-access-storage).
526-
522+
527523
The key is used to create a file share in a later step. Enter `$storageAcctKey` and note the value. You manually enter it in a later step when you map the file share to a drive in a virtual machine.
528524
529525
### [CLI](#tab/cli)
@@ -546,10 +542,6 @@ The steps necessary to restrict network access to resources created through Azur
546542
547543
1. After the storage account is created, retrieve the connection string for the storage account into a variable with [az storage account show-connection-string](/cli/azure/storage/account). The connection string is used to create a file share in a later step.
548544
549-
For the purposes of this tutorial, the connection string is used to connect to the storage account. Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a high degree of trust in the application, and carries risks that aren't present in other flows. You should only use this flow when other more secure flows, such as managed identities, aren't viable.
550-
551-
For more information about connecting to a storage account using a managed identity, see [Use a managed identity to access Azure Storage](/entra/identity/managed-identities-azure-resources/tutorial-linux-managed-identities-vm-access?pivots=identity-linux-mi-vm-access-storage).
552-
553545
```azurecli-interactive
554546
saConnectionString=$(az storage account show-connection-string \
555547
--name $storageAcctName \
@@ -560,6 +552,11 @@ The steps necessary to restrict network access to resources created through Azur
560552
561553
---
562554
555+
> [!IMPORTANT]
556+
> Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a very high degree of trust in the application, and carries risks that are not present in other flows. You should only use this flow when other more secure flows, such as managed identities, aren't viable.
557+
558+
For more information about connecting to a storage account using a managed identity, see [Use a managed identity to access Azure Storage](/entra/identity/managed-identities-azure-resources/tutorial-linux-managed-identities-vm-access?pivots=identity-linux-mi-vm-access-storage).
559+
563560
### Create a file share in the storage account
564561
565562
### [Portal](#tab/portal)

articles/virtual-network/virtual-network-service-endpoint-policies.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,9 @@ az storage share create \
592592

593593
---
594594

595+
> [!IMPORTANT]
596+
> Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a very high degree of trust in the application, and carries risks that are not present in other flows. You should only use this flow when other more secure flows, such as managed identities, aren't viable.
597+
595598
### Deny all network access to storage accounts
596599

597600
By default, storage accounts accept network connections from clients in any network. To restrict network access to the storage accounts, you can configure the storage account to accept connections only from specific networks. In this example, you configure the storage account to accept connections only from the virtual network subnet you created earlier.

0 commit comments

Comments
 (0)