My DM gave me a magic little bag, Heward's handy spice pouch, which has the description:
Someone holding the pouch could reach into it and speak the name of any type of nonmagical seasoning—salt, pepper, saffron etc.—and produce enough of that seasoning to apply to a single meal. This power could be used up to ten times until the pouch recovered its magic at the next dawn.
I've read that you can't use an object that requires an action to use/activate, but that item does not require an action (and don't need to get activated neither) and we've ruled it produces enough for a single meal, but does not requires to be applied on a meal. Which means it's basically the same thing as taking an item from a bag of holding.
I wanted to be able to draw pepper as an action and a bonus action, that way I would be able throw pepper in someone's eyes on my next turn.
Heward's handy spice pouch does not seem to specify if it needs an action to be used.