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:
Yura Shutkin 2023-04-18 23:20:27 +02:00 committed by GitHub
parent f4928cf7cb
commit 7de8a3bc31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

3
changelog/20109.txt Normal file
View file

@ -0,0 +1,3 @@
```release-note:improvement
sys/wrapping: Add example how to unwrap without authentication in Vault
```

View file

@ -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