added ignoreKeyType option to getAssociatedKeys()