# 请教一个关于生成秘钥长度的问题

**URL:** <https://community.auth0.com/t/topic/52164>\
**Category:** JWT.io\
**Tags:** jwt, net-core\
**Created:** [October 26, 2020, 4:35am UTC](https://community.auth0.com/t/topic/52164 "2020-10-26T04:35:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wwzorz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wwzorz/32/25196_2.png) [@wwzorz](https://community.auth0.com/u/wwzorz)\
**Post date:** [October 26, 2020, 4:35am UTC](https://community.auth0.com/t/topic/52164/1 "2020-10-26T04:35:09Z")

</div>

.net core idenityserver 生成的 token秘钥有点长 怎么样才可以让其短一点,没有找到相关的文档和设置的地方,请各位大佬指点,谢谢了

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 27, 2020, 7:39pm UTC](https://community.auth0.com/t/topic/52164/3 "2020-10-27T19:39:11Z")

</div>

Hi @wwzorz,

Welcome to the Community!

What do you mean when you say you want the secret key shorter? Are you using auth0?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 16, 2020, 11:32pm UTC](https://community.auth0.com/t/topic/52164/4 "2020-11-16T23:32:05Z")

</div>

Marking this resolved after two weeks of inactivity.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 16, 2020, 11:32pm UTC](https://community.auth0.com/t/topic/52164/5 "2020-11-16T23:32:11Z")

</div>


