sftpAuthenticationMethods

@JvmName(name = "iucurqokyyvtkhrv")
suspend fun sftpAuthenticationMethods(value: Output<ServerSftpAuthenticationMethods>)
@JvmName(name = "ddmmxorapanrvfcd")
suspend fun sftpAuthenticationMethods(value: ServerSftpAuthenticationMethods?)

Parameters

value

For SFTP-enabled servers, and for custom identity providers only , you can specify whether to authenticate using a password, SSH key pair, or both.

  • PASSWORD - users must provide their password to connect.

  • PUBLIC_KEY - users must provide their private key to connect.

  • PUBLIC_KEY_OR_PASSWORD - users can authenticate with either their password or their key. This is the default value.

  • PUBLIC_KEY_AND_PASSWORD - users must provide both their private key and their password to connect. The server checks the key first, and then if the key is valid, the system prompts for a password. If the private key provided does not match the public key that is stored, authentication fails.