Encryption¶
The path requires Admin and an access token: an API token gets 403.
Rotate the Keys¶
This path rotates the encryption keys.
| Method | Path |
|---|---|
| POST | /api/v1/encryption/rotate |
Sample Response¶
{
"result": {
"message": "Encryption keys rotated"
}
}
Response Codes¶
| Code | Description |
|---|---|
409 |
The encryption key is changing, or the keys changed meanwhile. Retry. |
421 |
The node is not the leader. See Leader-Only Paths. |
503 |
The node's encryption keys are locked. |