/sys/wrapping/rewrap
The /sys/wrapping/rewrap
endpoint can be used to rotate a wrapping token and
refresh its TTL.
Wrapping Rewrap
This endpoint rewraps a response-wrapped token. The new token will use the same creation TTL as the original token and contain the same response. The old token will be invalidated. This can be used for long-term storage of a secret in a response-wrapped token when rotation is a requirement.
Method | Path |
---|---|
POST | /sys/wrapping/rewrap |
Parameters
token
(string: <required>)
– Specifies the wrapping token ID.
Sample Payload
Sample Request
Sample Response