Update index.html.md

This commit is contained in:
Jeff Mitchell
2018-09-04 12:15:05 -04:00
committed by GitHub
parent 6537b0a536
commit 535dd9df1f

View File

@@ -962,6 +962,11 @@ This endpoint restores the backup as a named key. This will restore the key
configurations and all the versions of the named key along with HMAC keys. The
input to this endpoint should be the output of `/backup` endpoint.
~> For safety, the backend will refuse to restore to an existing key. If you
want to reuse a key name, you must delete the key before restoring. It is a
good idea to attempt restoring to a different key name first to verify that
the operation successfully completes.
| Method | Path | Produces |
| :------- | :-------------------------- | :--------------------- |
| `POST` | `/transit/restore(/:name)` | `204 (empty body)` |