# Allowing users to create api keys

**URL:** <https://community.auth0.com/t/allowing-users-to-create-api-keys/141864>\
**Category:** Get Help\
**Tags:** consent, application\
**Created:** [August 27, 2024, 6:14am UTC](https://community.auth0.com/t/allowing-users-to-create-api-keys/141864 "2024-08-27T06:14:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![truescope](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/truescope/32/12814_2.png) [@truescope](https://community.auth0.com/u/truescope)\
**Post date:** [August 27, 2024, 6:14am UTC](https://community.auth0.com/t/allowing-users-to-create-api-keys/141864/1 "2024-08-27T06:14:47Z")

</div>

Right now we have an application and api configured in auth0. We’d like to offer users the ability to create their own access\_token and access our api’s directly.

Should i use the management api to create a new M2M application for each user that wants to use an api key? (effectively giving each user their own public/private keys to request tokens as they need to)

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 10, 2024, 3:47am UTC](https://community.auth0.com/t/allowing-users-to-create-api-keys/141864/3 "2024-09-10T03:47:04Z")

</div>

Hey there @truescope !

Apologize for the delayed response here, but wanted to get back to you on this one.

> [@truescope](#):
>
> Should i use the management api to create a new M2M application for each user that wants to use an api key? (effectively giving each user their own public/private keys to request tokens as they need to)

This is exactly the recommended approach:

[https://community.auth0.com/t/auth0-support-for-api-keys-and-personal-access-tokens/98175](https://community.auth0.com/t/auth0-support-for-api-keys-and-personal-access-tokens/98175)

---

<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:** [September 24, 2024, 3:47am UTC](https://community.auth0.com/t/allowing-users-to-create-api-keys/141864/4 "2024-09-24T03:47:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Tiffani](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tiffani/32/75235_2.png) [@Tiffani](https://community.auth0.com/u/Tiffani)\
**Post date:** [July 29, 2026, 4:52pm UTC](https://community.auth0.com/t/allowing-users-to-create-api-keys/141864/5 "2026-07-29T16:52:40Z")

</div>


