Update wrapping-unwrap.mdx (#20109)
* Update wrapping-unwrap.mdx It is possible to unwrap data without authentication in Vault. I've added an example of a curl request. * Add changelog record
This commit is contained in:
parent
f4928cf7cb
commit
7de8a3bc31
3
changelog/20109.txt
Normal file
3
changelog/20109.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:improvement
|
||||||
|
sys/wrapping: Add example how to unwrap without authentication in Vault
|
||||||
|
```
|
|
@ -51,6 +51,15 @@ $ curl \
|
||||||
http://127.0.0.1:8200/v1/sys/wrapping/unwrap
|
http://127.0.0.1:8200/v1/sys/wrapping/unwrap
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or you can use token to unwrap without authentication in vault
|
||||||
|
|
||||||
|
```shell-session
|
||||||
|
$ curl \
|
||||||
|
--header "X-Vault-Token: abcd1234..." \
|
||||||
|
--request POST \
|
||||||
|
http://127.0.0.1:8200/v1/sys/wrapping/unwrap
|
||||||
|
```
|
||||||
|
|
||||||
### Sample Response
|
### Sample Response
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|
Loading…
Reference in a new issue