Auth0 recommends you rotate key material regularly to meet your compliance needs and ensure security is not compromised by leaked private keys. You can use the or to rotate new keys into use. You need to create a new credential, associate it with the private_key_jwt authentication method, and remove old or unused credentials.
The current application storage limit is two credentials at one time. To repeatedly rotate new credentials, you need to delete unused credentials.
To rotate your application credentials with Auth0 Dashboard:
To assure zero downtime, you can leave multiple credentials active during rotation. Applications can function normally using older keys until keys are updated. Applications can send signed assertions with any set of active credentials.Auth0 recommends you minimize the time that multiple credentials are in use. The example below uses multiple associated credentials: