Adding 'hash' option to apiKeysAddKey