withHostKeyFile
Method
interface SftpContainerResource { // ... omitted for brevity withHostKeyFile( keyFile: string, keyType: KeyType): SftpContainerResource;}Signature
method
withHostKeyFile builder Adds a bind mount for the specified host key file to an SFTP container resource.
withHostKeyFile( keyFile: string, keyType: KeyType): SftpContainerResourceParameters
keyFile string keyType KeyType Returns
SftpContainerResource Applies to
This method applies to the following types: