From 7de8a3bc31d0bffff4d4c97cb216bcc5afc09ff0 Mon Sep 17 00:00:00 2001 From: Yura Shutkin Date: Tue, 18 Apr 2023 23:20:27 +0200 Subject: [PATCH] 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 --- changelog/20109.txt | 3 +++ website/content/api-docs/system/wrapping-unwrap.mdx | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 changelog/20109.txt diff --git a/changelog/20109.txt b/changelog/20109.txt new file mode 100644 index 000000000..8c7cb3b32 --- /dev/null +++ b/changelog/20109.txt @@ -0,0 +1,3 @@ +```release-note:improvement +sys/wrapping: Add example how to unwrap without authentication in Vault +``` diff --git a/website/content/api-docs/system/wrapping-unwrap.mdx b/website/content/api-docs/system/wrapping-unwrap.mdx index a3ed5973e..701bc6eec 100644 --- a/website/content/api-docs/system/wrapping-unwrap.mdx +++ b/website/content/api-docs/system/wrapping-unwrap.mdx @@ -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