<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list(gandi, resource):
 """List DNSSEC keys."""

    keys = gandi.dnssec.list(resource)
    gandi.pretty_echo(keys)

    return keys