description | page_type | products | urlFragment | languages | ||||
---|---|---|---|---|---|---|---|---|
Creates an Azure Storage account and a blob container that can be accessed using SFTP protocol. Access can be password or public-key based. |
sample |
|
storage-sftp |
|
This template creates an Azure Storage account and a blob container that can be accessed using SFTP protocol. Access can be password or public-key based.
This feature is currently in Public Preview. To enable the feature on your subscription, you will need execute either of the following commands:
- Azure CLI
# Check if the SFTP feature is registered first
az feature show --namespace Microsoft.Storage --name AllowSFTP
# Register the SFTP feature on your subscription
az feature register --namespace Microsoft.Storage --name AllowSFTP
- PowerShell
# Check if the SFTP feature is registered first
Get-AzProviderFeature -FeatureName "AllowSFTP" -ProviderNamespace "Microsoft.Storage"
# Register the SFTP feature on your subscription
Register-AzProviderFeature -FeatureName "AllowSFTP" -ProviderNamespace "Microsoft.Storage"
If using password authentication, you will need to access to the storage account in Azure Portal to securely generate a password for the user.
If you are new to Azure Storage account, see:
- Azure Storage account documentation
- Azure Storage account template reference
- SSH File Transfer Protocol (SFTP) support for Azure Blob Storage
- Quickstart templates
If you are new to the template development, see:
Tags: Azure Storage account, Resource Manager, Resource Manager templates, ARM templates, SFTP
Tags: Microsoft.Storage/storageAccounts, Microsoft.Storage/storageAccounts/blobServices/containers, Microsoft.Storage/storageAccounts/localUsers