2015-04-20 18:50:21 +00:00
|
|
|
---
|
|
|
|
layout: "http"
|
|
|
|
page_title: "HTTP API: /sys/raw"
|
|
|
|
sidebar_current: "docs-http-debug-raw"
|
|
|
|
description: |-
|
|
|
|
The `/sys/raw` endpoint is access the raw underlying store in Vault.
|
|
|
|
---
|
|
|
|
|
|
|
|
# /sys/raw
|
|
|
|
|
|
|
|
## GET
|
|
|
|
|
|
|
|
<dl>
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Description</dt>
|
|
|
|
<dd>
|
|
|
|
Reads the value of the key at the given path. This is the raw path in the
|
2015-04-28 18:32:04 +00:00
|
|
|
storage backend and not the logical path that is exposed via the mount system.
|
2015-04-22 23:47:11 +00:00
|
|
|
</dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Method</dt>
|
|
|
|
<dd>GET</dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>URL</dt>
|
|
|
|
<dd>`/sys/raw/<path>`</dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Parameters</dt>
|
|
|
|
<dd>
|
|
|
|
None
|
|
|
|
</dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Returns</dt>
|
|
|
|
<dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
```javascript
|
|
|
|
{
|
|
|
|
"value": "{'foo':'bar'}"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
</dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
## PUT
|
|
|
|
|
|
|
|
<dl>
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Description</dt>
|
|
|
|
<dd>
|
|
|
|
Update the value of the key at the given path. This is the raw path in the
|
2015-04-28 18:32:04 +00:00
|
|
|
storage backend and not the logical path that is exposed via the mount system.
|
2015-04-22 23:47:11 +00:00
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>Method</dt>
|
|
|
|
<dd>PUT</dd>
|
|
|
|
|
|
|
|
<dt>URL</dt>
|
|
|
|
<dd>`/sys/raw/<path>`</dd>
|
|
|
|
|
|
|
|
<dt>Parameters</dt>
|
|
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<span class="param">value</span>
|
|
|
|
<span class="param-flags">required</span>
|
|
|
|
The value of the key.
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>Returns</dt>
|
|
|
|
<dd>`204` response code.
|
|
|
|
</dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
## DELETE
|
|
|
|
|
|
|
|
<dl>
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Description</dt>
|
|
|
|
<dd>
|
|
|
|
Delete the key with given path. This is the raw path in the
|
2015-04-28 18:32:04 +00:00
|
|
|
storage backend and not the logical path that is exposed via the mount system.
|
2015-04-22 23:47:11 +00:00
|
|
|
</dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Method</dt>
|
|
|
|
<dd>DELETE</dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>URL</dt>
|
|
|
|
<dd>`/sys/raw/<path>`</dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Parameters</dt>
|
|
|
|
<dd>None
|
|
|
|
</dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Returns</dt>
|
|
|
|
<dd>`204` response code.
|
|
|
|
</dd>
|
2015-04-20 18:50:21 +00:00
|
|
|
</dl>
|