Skip to content

Commit

Permalink
Update wrapping-unwrap.mdx (#20109)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
yura-shutkin committed Apr 18, 2023
1 parent f5dd114 commit b930010
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 b930010

Please sign in to comment.