vault/website/source/docs/http/sys-raw.html.md
2015-04-20 11:50:21 -07:00

1.5 KiB

layout page_title sidebar_current description
http HTTP API: /sys/raw docs-http-debug-raw The `/sys/raw` endpoint is access the raw underlying store in Vault.

/sys/raw

GET

Description
Reads the value of the key at the given path. This is the raw path in the storage packend and not the logical path that is exposed via the mount system.
<dt>Method</dt>
<dd>GET</dd>

<dt>URL</dt>
<dd>`/sys/raw/<path>`</dd>

<dt>Parameters</dt>
<dd>
	None
</dd>

<dt>Returns</dt>
<dd>
{
	"value": "{'foo':'bar'}"
}
</dd>

PUT

Description
Update the value of the key at the given path. This is the raw path in the storage packend and not the logical path that is exposed via the mount system.
<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>

DELETE

Description
Delete the key with given path. This is the raw path in the storage packend and not the logical path that is exposed via the mount system.
<dt>Method</dt>
<dd>DELETE</dd>

<dt>URL</dt>
<dd>`/sys/raw/<path>`</dd>

<dt>Parameters</dt>
<dd>None
</dd>

<dt>Returns</dt>
<dd>`204` response code.
</dd>