SftpHostingExtensions
Classstaticnet10.0
Provides extension methods for adding an SFTP resource to an
Hosting.IDistributedApplicationBuilder . namespace Aspire.Hosting;
public static class SftpHostingExtensions{ // ...}Methods4
Section titled MethodsIResourceBuilder<SftpContainerResource> Adds atmoz SFTP to the application model.
IResourceBuilder<SftpContainerResource> Adds a bind mount for the specified host key file to an SFTP container resource.
WithUserKeyFile(IResourceBuilder<SftpContainerResource>, string, string, KeyType) extensionats exportIResourceBuilder<SftpContainerResource> Adds a bind mount for the public key file of the specified user to an SFTP container resource.
IResourceBuilder<SftpContainerResource> Adds a bind mount for the users.conf file to an SFTP container resource.