• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

Can I automatically rotate my JWT signing keys?

Scheduled Pinned Locked Moved Solved
Q&A
jwt keys rotation
1
3
1.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    dan
    last edited by 29 May 2020, 18:54

    Can I automatically rotate the keys that are used to sign my JWT?

    --
    FusionAuth - Auth for devs, built by devs.
    https://fusionauth.io

    1 Reply Last reply Reply Quote 0
    • D
      dan
      last edited by 29 May 2020, 19:10

      There's no built in key rotation feature. If you think that'd be valuable, please open an GitHub issue outlining the use case.

      You can use the keys api: https://fusionauth.io/docs/v1/tech/apis/keys to create a new key. You can then use either the application or tenant APIs to update the signing key. Update the value of the ....jwtConfiguration.accessTokenKeyId key.

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • D
        dan
        last edited by 2 Sept 2021, 02:58

        The team wrote a tutorial outlining how to rotate keys, including signing keys: https://fusionauth.io/docs/v1/tech/tutorials/key-rotation/

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post