diff --git a/changelog/20109.txt b/changelog/20109.txt new file mode 100644 index 000000000000..8c7cb3b32de1 --- /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 a3ed5973eee9..701bc6eecf28 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