Project

General

Profile

Feature #84596

Add middleware method to allow semiautomatic replication setup using password instead of token

Added by Erin Clark 9 months ago. Updated 8 months ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Estimated time:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

To make replication more automatic it would be nice to have a method that allows the user to enter a user name and password for a remote system and push the public key to that box.


Related issues

Related to FreeNAS - Feature #84908: Replication WizardClosed
Copied to FreeNAS - Feature #84900: Allow semiautomatic replication setup using password instead of token in new UIClosed

History

#1 Updated by Bug Clerk 9 months ago

  • Status changed from Unscreened to In Progress

#2 Updated by Vladimir Vinogradenko 9 months ago

The method is:

{
    "id": "6841f242-840a-11e6-a437-00e04d680384",
    "msg": "method",
    "method": "keychaincredential.keychain_remote_ssh_semiautomatic_setup",
    "params": [{
        "name": "Work SSH connection",
        "url": "https://work.freenas.org",

        // Specify one of these
        "token": "8c8d5fd1-f749-4429-b379-9c186db4f834",
        "password": "mysuperpassw0rd",

        "private_key": 12,

        // You can also specify cipher and connect_timeout options here
    }]
}

It will log in to remote system, add public key there and create SSH_CONNECTION with specified name (and other parameters) and remote system credentials and return it.

#3 Updated by Bug Clerk 8 months ago

  • Status changed from In Progress to Ready for Testing

#4 Updated by Dru Lavigne 8 months ago

  • Subject changed from Need ability to push public key during ssh connection creation for replication to Allow semiautomatic replication setup using password instead of token
  • Needs Merging changed from Yes to No

#5 Updated by Dru Lavigne 8 months ago

  • Subject changed from Allow semiautomatic replication setup using password instead of token to Add middleware method to allow semiautomatic replication setup using password instead of token

#6 Updated by Erin Clark 8 months ago

  • Copied to Feature #84900: Allow semiautomatic replication setup using password instead of token in new UI added

#7 Updated by Erin Clark 8 months ago

#8 Updated by Dru Lavigne 8 months ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3-BETA1 to 11.3-ALPHA1
  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No

Also available in: Atom PDF