$key->uuid, 'name' => $key->name, 'type' => $key->type, 'public_key_id' => base64_encode($key->public_key_id), 'created_at' => self::formatTimestamp($key->created_at), 'updated_at' => self::formatTimestamp($key->updated_at), ]; } }