# CommunityToolkit.Aspire.Hosting.Sftp

- Module: `CommunityToolkit.Aspire.Hosting.Sftp`
- Version: `13.6.1`
- Import path: `apphost/modules/aspire`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)
- Functions: `4`
- Types: `3`

## Handles

- [CommunityToolkit_Aspire_Hosting_SftpKeyType](/reference/api/go/communitytoolkit.aspire.hosting.sftp/communitytoolkit-aspire-hosting-sftpkeytype.md) -- `handle` - 0 members -- Specifies the types of cryptographic keys supported for digital signatures.
- [SftpContainerResource](/reference/api/go/communitytoolkit.aspire.hosting.sftp/sftpcontainerresource.md) -- `handle` - 7 members -- A resource that represents an SFTP container.

## Enums

- [KeyType](/reference/api/go/communitytoolkit.aspire.hosting.sftp/keytype.md) -- `enum` - 2 values -- Specifies the types of cryptographic keys supported for digital signatures.

## Functions

- [AddSftp](/reference/api/go/communitytoolkit.aspire.hosting.sftp/addsftp.md) -- `method` - on `DistributedApplicationBuilder` -- Adds atmoz SFTP to the application model.
- [WithHostKeyFile](/reference/api/go/communitytoolkit.aspire.hosting.sftp/withhostkeyfile.md) -- `method` - on `SftpContainerResource` -- Adds a bind mount for the specified host key file to an SFTP container resource.
- [WithUserKeyFile](/reference/api/go/communitytoolkit.aspire.hosting.sftp/withuserkeyfile.md) -- `method` - on `SftpContainerResource` -- Adds a bind mount for the public key file of the specified user to an SFTP container resource.
- [WithUsersFile](/reference/api/go/communitytoolkit.aspire.hosting.sftp/withusersfile.md) -- `method` - on `SftpContainerResource` -- Adds a bind mount for the users.conf file to an SFTP container resource.
