# Client Secret Rotation for M2M Applications in Auth0

**URL:** <https://community.auth0.com/t/client-secret-rotation-for-m2m-applications-in-auth0/150736>\
**Category:** Get Help\
**Tags:** delegated-administration-dashboard, extensions\
**Created:** [October 30, 2024, 4:09pm UTC](https://community.auth0.com/t/client-secret-rotation-for-m2m-applications-in-auth0/150736 "2024-10-30T16:09:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vipul.harish.mistry](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vipul.harish.mistry/32/60008_2.png) [@vipul.harish.mistry](https://community.auth0.com/u/vipul.harish.mistry)\
**Post date:** [October 30, 2024, 4:09pm UTC](https://community.auth0.com/t/client-secret-rotation-for-m2m-applications-in-auth0/150736/1 "2024-10-30T16:09:23Z")

</div>

Hello Community,

We’ve registered an M2M application in Auth0 for our B2B customers. Following registration, a Client ID and Client Secret were generated.

Since our customer owns this Client Secret, they need a way to rotate it in accordance with their security policy. We’d like to enable our client to rotate the Client Secret only, without any capability to add, remove, or view users.

I considered using the Delegated Administration Extension for this, but it appears not to support M2M applications.

Could anyone advise on the best approach to enable client-controlled secret rotation?

Thank you in advance!

Regards  
Vipul

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [December 17, 2024, 11:36pm UTC](https://community.auth0.com/t/client-secret-rotation-for-m2m-applications-in-auth0/150736/3 "2024-12-17T23:36:16Z")

</div>

Hi @vipul.harish.mistry,

Welcome to the Auth0 Community!  
Apologies for the late reply, Client Secret rotation is possible for M2M apps by opening the application on your Auth0 dashboard, scrolling to the bottom and clicking on " Rotate secret". This can also be done through the Management Api instead of the Auth0 Dashboard. You can find more information on this [documentation](https://auth0.com/docs/get-started/applications/rotate-client-secret).

Moreover, if setting a custom Client Secret is required, this can also be accomplished [through the Management Api](https://auth0.com/docs/get-started/applications/rotate-client-secret#set-a-custom-client-secret:~:text=Set%20a%20custom%20client%20secret).

Thank you!  
Gerald

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 31, 2024, 11:36pm UTC](https://community.auth0.com/t/client-secret-rotation-for-m2m-applications-in-auth0/150736/4 "2024-12-31T23:36:27Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
