moo.sdk.ssh_keys

SSH key management functions.

Functions

add_ssh_key(player_obj, key_string)

Validate and add an SSH public key for the player's Django User.

list_ssh_keys(player_obj)

Return SSH key summaries for the player's Django User, ordered by creation date.

remove_ssh_key(player_obj, index)

Remove the SSH key at the given 1-based index for the player.

Classes

SSHKeyInfo(pk, name, keytype, fingerprint, ...)

Plain verb-facing representation of a UserKey row.