# How to apply rate limiting for consumer without any credential plugin

**URL:** <https://discuss.konghq.com/t/how-to-apply-rate-limiting-for-consumer-without-any-credential-plugin/11641>\
**Category:** General\
**Created:** [June 29, 2023, 10:11am UTC](https://discuss.konghq.com/t/how-to-apply-rate-limiting-for-consumer-without-any-credential-plugin/11641 "2023-06-29T10:11:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhijeet\_Pawar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/abhijeet_pawar/32/3506_2.png) [@Abhijeet\_Pawar](https://discuss.konghq.com/u/Abhijeet_Pawar)\
**Post date:** [June 29, 2023, 10:11am UTC](https://discuss.konghq.com/t/how-to-apply-rate-limiting-for-consumer-without-any-credential-plugin/11641/1 "2023-06-29T10:11:49Z")

</div>

Hi Team,

How can I apply rate limiting to a consumer without any credentials plugins like key-auth or basic-auth?

I have created one consumer ABC and have applied 1 TPS rate limiting. As per the Kong Doc, I have to send a username or custom\_id in a request so Kong will be able to identify the user, so I tried to send the username and custom\_id in the request header, but the rate limit didn’t work.

Later, I applied the basic-auth plugin to that ABC consumer and sent the username and password in a request, and the rate limit worked as expected.

So can we use consumer rate limiting without any credential plugin?

Please let me know if I missed anything in the configuration.
