backport of commit b930010ae2 (#20236)

Co-authored-by: Yura Shutkin <yshutkin@infra-lab.xyz>
This commit is contained in:
hc-github-team-secure-vault-core
2023-04-18 17:51:05 -04:00
committed by GitHub
parent 6b7259685f
commit 93a62a4033
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
```
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
```json