the key itself contains the key type so we can use the general version