@classmethod
def all(cls, client):
    """Get all certificates."""
    response = client.api.certificates.get()
    certs = []
    for cert in response.json()['metadata']:
        fingerprint = cert.split('/')[-1]
        certs.append(cls(client, fingerprint=fingerprint))
    return certs
