Skip to content

Commit b7747f9

Browse files
committed
Some additional changes
1 parent e5b555f commit b7747f9

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

articles/storage/blobs/secure-file-transfer-protocol-support-entra-id-based-access.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,15 @@ After authentication, run the same command to download the certificate:
121121

122122
#### [Azure PowerShell](#tab/azurepowershell)
123123

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.
125125

126126
```powershell
127127
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:
131+
132+
```powershell
128133
New-AzSftpCertificate -CertificatePath "\my_cert.cert"
129134
```
130135

@@ -136,9 +141,6 @@ Optionally, use the following command to generate the OpenSSH certificate by usi
136141

137142
Learn more about the PowerShell module [here](/powershell/module/az.sftp/).
138143

139-
> [!NOTE]
140-
> PowerShell currently doesn't support Service Principal and Managed Identity sign-ins.
141-
142144
#### [.NET](#tab/dotnet)
143145

144146
```csharp
@@ -240,7 +242,7 @@ For security reasons, the OpenSSH certificate is valid for 65 minutes. After thi
240242

241243
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.
242244

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.
244246

245247
> [!NOTE]
246248
> 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
305307

306308
For more information about the commands, see [here](/powershell/module/az.sftp/connect-azsftp).
307309

310+
311+
308312
##### [.NET](#tab/dotnet)
309313

310314
Not applicable.

0 commit comments

Comments
 (0)