At first I was under the impression that keys where playermade, and spread near the secret doors out of generosity.
I though you could make it with a high alchemy skill, as alchemy requires combining elements of certain colours.
The keys are made of different colours and shapes, that's the resemblance.
Maybe an idea to make keys with tinkering and imbuing them with the right alchemical compound to make a specific key?