Skip to main content

Module ssh_key

Module ssh_key 

Source
Expand description

SSH key management commands.

The SSH daemon uses these to look up and authorise incoming connections; the automation CLI uses them to add / list / remove keys for a user. Keeping them all server-side means both surfaces share one source of truth and one set of SQL queries.

Structs§

AddSshKey
AddSshKeyRunner0000
AddSshKeyRunner0001
AddSshKeyRunner0010
AddSshKeyRunner0011
AddSshKeyRunner0100
AddSshKeyRunner0101
AddSshKeyRunner0110
AddSshKeyRunner0111
AddSshKeyRunner1000
AddSshKeyRunner1001
AddSshKeyRunner1010
AddSshKeyRunner1011
AddSshKeyRunner1100
AddSshKeyRunner1101
AddSshKeyRunner1110
AddSshKeyRunner1111
ListSshKeys
ListSshKeysRunner0
ListSshKeysRunner1
LookupUserBySshKey
LookupUserBySshKeyRunner0
LookupUserBySshKeyRunner1
RemoveSshKey
RemoveSshKeyRunner00
RemoveSshKeyRunner01
RemoveSshKeyRunner10
RemoveSshKeyRunner11
SshKeyRecord
Wire-format record of an SSH public key. Lives in server::command so consumers don’t reach into the DB layer directly.
UserHasSshKey
UserHasSshKeyRunner0
UserHasSshKeyRunner1