Use the PUT /serverSettings/systemKeys endpoint to update the system keys. For each key, either encryptedKeyData or keyData is required.

Status codes

Code Reason
200 Success.
400 The request was improperly formatted or contained invalid fields.
422 Validation error(s) occurred.

SystemKeys - Secrets that are used in cryptographic operations to generate and consume internal tokens

Property Type Description
current * SystemKey The current secret.
pending * SystemKey The next secret.
previous SystemKey Previously used secret.

SystemKey - A system key.

Property Type Description
creationDate string Creation time of the key.
encryptedKeyData string The system key encrypted.
keyData string The clear text system key base 64 encoded. The system key must be 32 bytes before base 64 encoding.