package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &management.RotateConnectionKeysRequestContent{}
client.Connections.Keys.Rotate(
context.TODO(),
"id",
request,
)
}{
"kid": "<string>",
"cert": "-----BEGIN CERTIFICATE-----\r\nMIIDDTCCA...YiA0TQhAt8=\r\n-----END CERTIFICATE-----",
"fingerprint": "CC:FB:DD:D8:9A:B5:DE:1B:F0:CC:36:D2:99:59:21:12:03:DD:A8:25",
"thumbprint": "CCFBDDD89AB5DE1BF0CC36D29959211203DDA825",
"pkcs": "-----BEGIN PKCS7-----\r\nMIIDPA....t8xAA==\r\n-----END PKCS7-----",
"next": true,
"algorithm": "<string>",
"key_use": "encryption",
"subject_dn": "<string>"
}Rotates the connection keys for the Okta or OIDC connection strategies.
package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &management.RotateConnectionKeysRequestContent{}
client.Connections.Keys.Rotate(
context.TODO(),
"id",
request,
)
}{
"kid": "<string>",
"cert": "-----BEGIN CERTIFICATE-----\r\nMIIDDTCCA...YiA0TQhAt8=\r\n-----END CERTIFICATE-----",
"fingerprint": "CC:FB:DD:D8:9A:B5:DE:1B:F0:CC:36:D2:99:59:21:12:03:DD:A8:25",
"thumbprint": "CCFBDDD89AB5DE1BF0CC36D29959211203DDA825",
"pkcs": "-----BEGIN PKCS7-----\r\nMIIDPA....t8xAA==\r\n-----END PKCS7-----",
"next": true,
"algorithm": "<string>",
"key_use": "encryption",
"subject_dn": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://auth0-feat-testing-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the connection
Selected Signing Algorithm
RS256, RS384, RS512, PS256, PS384, ES256, ES384 Connection keys successfully rotated.
The key id of the signing key
255The public certificate of the signing key
4096The cert fingerprint
The cert thumbprint
255The public certificate of the signing key in pkcs7 format
4096True if the key is the the next key
Signing key algorithm
Signing key use, whether for encryption or signing
encryption, signing 132Cette page vous a-t-elle été utile ?