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 a list of UserKey records 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.