vinfra cluster sshkey delete
Remove an SSH public key from storage cluster nodes:
usage: vinfra cluster sshkey delete <sshkey>
<sshkey>- SSH key value
Example:
# vinfra cluster sshkey delete 8ccf7f1b-6a53-4d74-99ce-c410d51a9921 +---------+--------------------------------------+ | Field | Value | +---------+--------------------------------------+ | task_id | 053802b2-b4c3-454d-89e2-6d6d312dd2ed | +---------+--------------------------------------+
This command creates a task to delete the SSH key with the ID 8ccf7f1b-6a53-4d74-99ce-c410d51a9921.
Task outcome:
# vinfra task show 053802b2-b4c3-454d-89e2-6d6d312dd2ed
+---------+-------------------------------------------------------+
| Field | Value |
+---------+-------------------------------------------------------+
| args | - admin |
| | - 1 |
| | - 8ccf7f1b-6a53-4d74-99ce-c410d51a9921 |
| kwargs | {} |
| name | backend.presentation.nodes.ssh.tasks.RemoveSshKeyTask |
| state | success |
| task_id | 053802b2-b4c3-454d-89e2-6d6d312dd2ed |
+---------+-------------------------------------------------------+