keychaincredential.create ========================= Create a Keychain Credential. The following `type`s are supported: * `SSH_KEY_PAIR` * `SSH_CREDENTIALS` .. examples(websocket):: :::javascript { "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "method": "keychaincredential.create", "params": [{ "name": "Work SSH connection", "type": "SSH_CREDENTIALS", "attributes": { "host": "work.freenas.org", "private_key": 12, "remote_host_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMn1VjdSMatGnxbOsrneKyai+dh6d4Hm" } }] } .. raw:: html
Distinguishes this Keychain Credential from others.
Must be at least 1
characters long
"SSH_KEY_PAIR"
At least one of the two keys must be provided on creation.
No Additional PropertiesCan be omitted and automatically derived from the private key.
Distinguishes this Keychain Credential from others.
Must be at least 1
characters long
"SSH_CREDENTIALS"
Keychain Credential ID.
Can be discovered with keychaincredential.remotesshhostkeyscan.
Distinguishes this Keychain Credential from others.
Must be at least 1
characters long
"SSH_KEY_PAIR"
At least one of the two keys must be provided on creation.
No Additional PropertiesCan be omitted and automatically derived from the private key.
Distinguishes this Keychain Credential from others.
Must be at least 1
characters long
"SSH_CREDENTIALS"
Keychain Credential ID.
Can be discovered with keychaincredential.remotesshhostkeyscan.