SftpContainerResource.withUserKeyFile
Method
interface SftpContainerResource { // ... omitted for brevity withUserKeyFile( username: string, keyFile: string, keyType: KeyType): SftpContainerResource;}Signature
method
withUserKeyFile builderAdds a bind mount for the public key file of the specified user to an SFTP container resource.
withUserKeyFile( username: string, keyFile: string, keyType: KeyType): SftpContainerResourceParameters
usernamestringThe user whose public key is being bind mountedkeyFile stringThe public key file of the specified user (will be bind mounted on the server).keyType KeyType The type of the host key.Returns
SftpContainerResource Defined on
This method is defined on the following type: