You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/secure-file-transfer-protocol-support-entra-id-based-access.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,10 +121,15 @@ After authentication, run the same command to download the certificate:
121
121
122
122
#### [Azure PowerShell](#tab/azurepowershell)
123
123
124
-
Generate the OpenSSH certificate by using [PowerShell Az.Sftp](https://www.powershellgallery.com/packages/Az.Sftp/0.1.0) as shown in the following example:
124
+
Sign in to your Azure subscription with the `Connect-AzAccount` command and follow the on-screen directions. Service principals and managed identity authorization is not yet supported for generating a certificate.
125
125
126
126
```powershell
127
127
Connect-AzAccount
128
+
```
129
+
130
+
Generate the OpenSSH certificate by using [PowerShell Az.Sftp](https://www.powershellgallery.com/packages/Az.Sftp/0.1.0) as shown in the following example:
@@ -136,9 +141,6 @@ Optionally, use the following command to generate the OpenSSH certificate by usi
136
141
137
142
Learn more about the PowerShell module [here](/powershell/module/az.sftp/).
138
143
139
-
> [!NOTE]
140
-
> PowerShell currently doesn't support Service Principal and Managed Identity sign-ins.
141
-
142
144
#### [.NET](#tab/dotnet)
143
145
144
146
```csharp
@@ -240,7 +242,7 @@ For security reasons, the OpenSSH certificate is valid for 65 minutes. After thi
240
242
241
243
If the principal uses the format [[email protected]](mailto:[email protected]), make sure to exclude the domain section in the command and use only the username portion.
242
244
243
-
Both [User and Service principals](/entra/identity-platform/app-objects-and-service-principals) are supported. For Service principals, use the service principal ID in place of the username in the connection string.
245
+
Both [User and service principals](/entra/identity-platform/app-objects-and-service-principals) are supported. For Service principals, use the service principal ID in place of the username in the connection string.
244
246
245
247
> [!NOTE]
246
248
> Adding the container name directly to the connection string or setting it up via Home directory isn't currently supported.
@@ -305,6 +307,8 @@ Additionally, you can get the OpenSSH certificate and connect to SFTP by using a
305
307
306
308
For more information about the commands, see [here](/powershell/module/az.sftp/connect-azsftp).
0 commit comments