Unwrap data either wrapped by the wrap endpoint, or returned by some other endpoint when a wrapped response is requested.
Note that then id should not be used as an authentication token since it can only be read once. The unwrap operation is unprivileged and no authentication is necessary.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
id: b07516fc-c75f-4078-875e-fe3d42ad1524
data: VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZw==
This endpoint is used to store any string inside a read-once token. To wrap complex data it is recommend to base64 encode first, then wrap the base64 string.
The resulting token can be unwrapped exactly once. The token will always have a ttl, if not explicitly configured as when wrapping the system default will be used.
It is possible to limit unwrapping to clients with certain ip addresses using the bound-cidrs argument.
The object will be removed when the parent token is revoked,
unless the orphan
leaf is set to true
.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
data: VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZw== ttl: 4h30m40s orphan: false bound-cidrs: - 127.0.0.1/24
id: b07516fc-c75f-4078-875e-fe3d42ad1524 ttl: 4h30m40s creation-time: 2021-03-05T12:27:02.050389Z