Management API
Go
package example import ( client "github.com/auth0/go-auth0/management/client" option "github.com/auth0/go-auth0/management/option" context "context" ) func do() () { client := client.NewClient( option.WithToken( "<token>", ), ) client.Keys.Signing.Rotate( context.TODO(), ) }
{ "cert": "-----BEGIN CERTIFICATE-----\r\nMIIDDTCCA...YiA0TQhAt8=\r\n-----END CERTIFICATE-----", "kid": "21hi274Rp02112mgkUGma" }
Rotate the application signing key of your tenant.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Signing key rotated successfully.
Next key certificate
Next key id
Cette page vous a-t-elle été utile ?