Skip to main content

GenerateSftpConnectionKeyPair

Stable

Generates a new key pair for a SFTP connection, replacing the stored one if any: the previous public key no longer authenticates

Signature​

mutation {
GenerateSftpConnectionKeyPair(id: ...)
}

Retourne : SftpConnection!

Arguments​

NomTypeRequisDéfautDescription
idID!✓——

Exemple​

mutation {
GenerateSftpConnectionKeyPair(
id: $id
) {
id
label
enabled
host
port
user
publicKey
authenticationMethod {}
lastConnectionTest {}
lastActivityAt
}
}