Add support to set custom permissions on each API key generated