/sys/sealwrap/rewrap
Enterprise
Vault Enterprise license required
Restricted endpoint
The API path can only be called from the root namespace.The /sys/sealwrap/rewrap
endpoint is used to rewrap all seal wrapped entries.
This is useful when you want to upgrade seal wrapped entries to use the latest
key, for example, after a seal migration or after rotating the remote keyring.
Read rewrap status
This endpoint reports whether a seal rewrap process is currently running.
Method | Path |
---|---|
GET | /sys/sealwrap/rewrap |
Sample request
Sample response
Start a seal rewrap process
This endpoint starts a seal rewrap process if one is not currently running. The process will run in the background. Check the vault server logs for status and progress updates.
Method | Path |
---|---|
POST | /sys/sealwrap/rewrap |
The default status codes are:
Sample request