Skip to content

Commit

Permalink
backport of commit b930010 (hashicorp#20236)
Browse files Browse the repository at this point in the history
Co-authored-by: Yura Shutkin <yshutkin@infra-lab.xyz>
  • Loading branch information
1 parent 6b72596 commit 93a62a4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog/20109.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
sys/wrapping: Add example how to unwrap without authentication in Vault
```
9 changes: 9 additions & 0 deletions website/content/api-docs/system/wrapping-unwrap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93a62a4

Please sign in to comment.