moo.sdk.ssh_keys.list_ssh_keys

moo.sdk.ssh_keys.list_ssh_keys(player_obj)

Return a list of UserKey records for the player’s Django User, ordered by creation date.

Parameters:

player_obj (Object) – the player Object whose SSH keys to list

Returns:

list of UserKey model instances

Return type:

list

Raises:

UserError – if the caller is not wizard-owned, or the player has no account