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.md
+23-27Lines changed: 23 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,17 +25,17 @@ Blob storage now supports the SSH File Transfer Protocol (SFTP). This support pr
25
25
26
26
Azure allows secure data transfer to Blob Storage accounts using Azure Blob service REST API, Azure SDKs, and tools such as AzCopy. However, legacy workloads often use traditional file transfer protocols such as SFTP. You could update custom applications to use the REST API and Azure SDKs, but only by making significant code changes.
27
27
28
-
Prior to the release of this feature, if you wanted to use SFTP to transfer data to Azure Blob Storage you would have to either purchase a third party product or orchestrate your own solution. You would have to create a virtual machine (VM) in Azure to host an SFTP server, and then figure out a way to move data into the storage account.
28
+
Prior to the release of this feature, if you wanted to use SFTP to transfer data to Azure Blob Storage you would have to either purchase a third party product or orchestrate your own solution. For custom solutions, you would have to create virtual machines (VMs) in Azure to host an SFTP server, and then update, patch, manage, scale, and maintain a complex architecture.
29
29
30
-
Now, with SFTP support for Azure Blob Storage, you can enable an SFTP endpoint for Blob Storage accounts with a single setting. Then you can set up local user identities for authentication to transfer data securely without the need to do any more work.
30
+
Now, with SFTP support for Azure Blob Storage, you can enable an SFTP endpoint for Blob Storage accounts with a single click. Then you can set up local user identities for authentication to connect to your storage account with SFTP via port 22.
31
31
32
32
This article describes SFTP support for Azure Blob Storage. To learn how to enable SFTP for your storage account, see [Connect to Azure Blob Storage by using the SSH File Transfer Protocol (SFTP) (preview)](secure-file-transfer-protocol-support-how-to.md).
33
33
34
34
## SFTP and the hierarchical namespace
35
35
36
-
SFTP support requires blobs to be organized into on a hierarchical namespace. The ability to use a hierarchical namespace was introduced by Azure Data Lake Storage Gen2. It organizes objects (files) into a hierarchy of directories and subdirectories in the same way that the file system on your computer is organized. The hierarchical namespace scales linearly and doesn't degrade data capacity or performance.
36
+
SFTP support requires hierarchical namespaceto be enabled. Hierarchical namespace organizes objects (files) into a hierarchy of directories and subdirectories in the same way that the file system on your computer is organized. The hierarchical namespace scales linearly and doesn't degrade data capacity or performance.
37
37
38
-
Different protocols extend from the hierarchical namespace. The SFTP is one of these available protocols.
38
+
Different protocols are supported by the hierarchical namespace. SFTP is one of these available protocols.
@@ -51,17 +51,17 @@ To set up access permissions, you'll create a local user, and choose authenticat
51
51
> [!CAUTION]
52
52
> Local users do not interoperate with other Azure Storage permission models such as RBAC (role based access control), ABAC (attribute based access control), and ACLs (access control lists).
53
53
>
54
-
> For example, user A has an Azure AD identity with only read permission for file _foo.txt_and a local user identity with delete permission for container _con1_ in which _foo.txt_ is stored. In this case, User A could login in via SFTP using their local user identity and delete _foo.txt_.
54
+
> For example, Jeff has read only permission (can be controlled via RBAC, ABAC, or ACLs) via their Azure AD identity for file _foo.txt_stored in container _con1_. If Jeff is accessing the storage account via NFS (when not mounted as root/superuser), Blob REST, or Data Lake Storage Gen2 REST, these permissions will be enforced. However, if Jeff also has a local user identity with delete permission for data in container _con1_, they can delete _foo.txt_ via SFTP using the local user identity.
55
55
56
-
For SFTP enabled storage accounts, you can use the full breadth of Azure Blob Storage security settings, to authenticate and authorize users accessing Blob Storage via Azure portal, Azure CLI, Azure PowerShell commands, AzCopy, as well as Azure SDKS, and Azure REST APIs. To learn more, see [Access control model in Azure Data Lake Storage Gen2](data-lake-storage-access-control-model.md)
56
+
For SFTP enabled storage accounts, you can use the full breadth of Azure Blob Storage security settings, to authenticate and authorize users accessing Blob Storage via Azure portal, Azure CLI, Azure PowerShell commands, AzCopy, as well as Azure SDKs, and Azure REST APIs. To learn more, see [Access control model in Azure Data Lake Storage Gen2](data-lake-storage-access-control-model.md).
57
57
58
58
## Authentication methods
59
59
60
60
You can authenticate local users connecting via SFTP by using a password or a Secure Shell (SSH) public-private keypair. You can configure both forms of authentication and let connecting local users choose which one to use. However, multifactor authentication, whereby both a valid password and a valid public-private key pair are required for successful authentication isn't supported.
61
61
62
62
#### Passwords
63
63
64
-
Passwords are generated for you. If you choose password authentication, then your password will be provided after you finish configuring a local user. Make sure to copy that password and save it in a location where you can find it later. You won't be able to retrieve that password from Azure again. If you lose the password, you'll have to generate a new one. For security reasons, you can't set the password yourself.
64
+
You cannot set custom passwords, rather Azure generates one for you. If you choose password authentication, then your password will be provided after you finish configuring a local user. Make sure to copy that password and save it in a location where you can find it later. You won't be able to retrieve that password from Azure again. If you lose the password, you'll have to generate a new one. For security reasons, you can't set the password yourself.
65
65
66
66
#### SSH key pairs
67
67
@@ -75,14 +75,13 @@ In the current release, you can specify only container-level permissions. Direct
75
75
76
76
| Permission | Symbol | Description |
77
77
|---|---|---|
78
-
| Read | r | <li>Read file contents</li> |
79
-
| Write | w | <li>Upload file</li><li>Create directory</li><li>Upload directories</li> |
80
-
| List | l | <li>List contents within container</li><li>List contents within directories</li> |
81
-
| Delete | d | <li>Delete files/directories</li> |
82
-
| Create | c | <li>Upload file if file doesn't exist</li><li>Create directory if it doesn't exist</li> |
78
+
| Read | r | <li>Read file content</li> |
79
+
| Write | w | <li>Upload file</li><li>Create directory</li><li>Upload directory</li> |
80
+
| List | l | <li>List content within container</li><li>List content within directory</li> |
81
+
| Delete | d | <li>Delete file/directory</li> |
82
+
| Create | c | <li>Upload file if file doesn't exist</li><li>Create directory if directory doesn't exist</li> |
83
83
84
-
> [!IMPORTANT]
85
-
> When performing write operations on blobs in sub directories, Read permission is required to open the directory and access blob properties.
84
+
When performing write operations on blobs in sub directories, Read permission is required to open the directory and access blob properties.
86
85
87
86
## Home directory
88
87
@@ -108,25 +107,27 @@ put logfile.txt
108
107
109
108
You can use many different SFTP clients to securely connect and then transfer files. Connecting clients must use algorithms specified in table below.
<sup>1</sup> Requires minimum key length of 2048 bits.
121
+
<sup>1</sup> Host keys are published [here](secure-file-transfer-protocol-host-keys.md).
122
+
<sup>2</sup> RSA keys must be minimum 2048 bits in length.
123
123
124
124
SFTP support for Azure Blob Storage currently limits its cryptographic algorithm support based on security considerations. We strongly recommend that customers utilize [Microsoft Security Development Lifecycle (SDL) approved algorithms](/security/sdl/cryptographic-recommendations) to securely access their data.
125
125
126
-
> [!IMPORTANT]
127
-
> At this time, we do not plan on supporting the following: `ssh-dss`, `diffie-hellman-group14-sha1`, `diffie-hellman-group1-sha1`, `hmac-sha1`, `hmac-sha1-96`.
126
+
At this time, in accordance with the Microsoft Security SDL, we do not plan on supporting the following: `ssh-dss`, `diffie-hellman-group14-sha1`, `diffie-hellman-group1-sha1`, `hmac-sha1`, `hmac-sha1-96`. Algorithm support is subject to change in the future.
128
127
129
-
Algorithm support is subject to change in the future.
128
+
## Connecting with SFTP
129
+
130
+
To get started, enable SFTP support, create a local user, and assign permissions for that local user. Then, you can use any SFTP client to securely connect and then transfer files. For step-by-step guidance, see [Connect to Azure Blob Storage by using the SSH File Transfer Protocol (SFTP)](secure-file-transfer-protocol-support-how-to.md).
130
131
131
132
### Known supported clients
132
133
@@ -153,12 +154,7 @@ The following clients have compatible algorithm support with SFTP for Azure Blob
153
154
- Workday
154
155
- XFB.Gateway
155
156
156
-
> [!NOTE]
157
-
> The supported client list above is not exhaustive and may change over time.
158
-
159
-
## Connecting with SFTP
160
-
161
-
To get started, enable SFTP support, create a local user, and assign permissions for that local user. Then, you can use any SFTP client to securely connect and then transfer files. For step-by-step guidance, see [Connect to Azure Blob Storage by using the SSH File Transfer Protocol (SFTP)](secure-file-transfer-protocol-support-how-to.md).
157
+
The supported client list above is not exhaustive and may change over time.
0 commit comments