Move every data key onto the current master key
Changed onRewrap the data key of every encrypted object version and in-flight upload under the current master key (encryption.master_key_file). Only the keys are rewritten, never object data. Safe to interrupt and run again: keys already current are skipped. A previous master key can be removed from encryption.previous_key_files once a run reports remaining 0. In a cluster, every node must already have the new key as current and the old one as previous; one run covers the cluster. Returns 501 when no master key is configured.
post/api/v1/encryption/rotate
Request
- Base URL: http://localhost:8090
- URL: http://localhost:8090/api/v1/encryption/rotate
- Auth: none declared
Response
What the rotation did.
Changes
- info
endpoint added
- info