GenerateSftpConnectionKeyPair
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
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
id | ID! | ✓ | — | — |
Exemple
mutation {
GenerateSftpConnectionKeyPair(
id: $id
) {
id
label
enabled
host
port
user
publicKey
authenticationMethod {}
lastConnectionTest {}
lastActivityAt
}
}