formatKeySummaryLine

Builds a one-line summary of a key: user id, key id and secret/public kind.