# How to give M2M credentials without knowing the client secret?

**URL:** <https://community.auth0.com/t/how-to-give-m2m-credentials-without-knowing-the-client-secret/71373>\
**Category:** Get Help\
**Created:** [October 15, 2021, 8:20am UTC](https://community.auth0.com/t/how-to-give-m2m-credentials-without-knowing-the-client-secret/71373 "2021-10-15T08:20:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nayef](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nayef/32/32353_2.png) [@nayef](https://community.auth0.com/u/nayef)\
**Post date:** [October 15, 2021, 8:20am UTC](https://community.auth0.com/t/how-to-give-m2m-credentials-without-knowing-the-client-secret/71373/1 "2021-10-15T08:20:21Z")

</div>

We need to give our customers Machine Account so their API can talk to our API. My understanding is that we should create an Application for them so they have a client\_id and client\_secret and can do a Client Credentials Flow. Problem is we can access their secret… can they change it and make it so that we cannot know their secret ?

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [October 15, 2021, 2:48pm UTC](https://community.auth0.com/t/how-to-give-m2m-credentials-without-knowing-the-client-secret/71373/2 "2021-10-15T14:48:28Z")

</div>

Hi @nayef

Only someone with dashboard access or mgmt API access can change the client secret.  
You should be able to access their secret - it belongs to you.

Be aware that you have a quota of M2M tokens. You may want to implement a caching proxy to ensure that your 3rd part customers don’t run through your quota.

John

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 28, 2021, 12:06pm UTC](https://community.auth0.com/t/how-to-give-m2m-credentials-without-knowing-the-client-secret/71373/3 "2021-10-28T12:06:36Z")

</div>

Thanks for helping on this one John!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 28, 2021, 12:06pm UTC](https://community.auth0.com/t/how-to-give-m2m-credentials-without-knowing-the-client-secret/71373/4 "2021-10-28T12:06:42Z")

</div>


