add paths for import endpoints (#16401)
This commit is contained in:
parent
bafc630b12
commit
133535fabe
|
@ -96,6 +96,10 @@ $ curl \
|
|||
This endpoint imports existing key material into a new transit-managed encryption key.
|
||||
To import key material into an existing key, see the `import_version/` endpoint.
|
||||
|
||||
| Method | Path |
|
||||
| :----- | :--------------------------- |
|
||||
| `POST` | `/transit/keys/:name/import` |
|
||||
|
||||
### Parameters
|
||||
|
||||
- `name` `(string: <required>)` – Specifies the name of the encryption key to
|
||||
|
@ -179,6 +183,10 @@ $ curl \
|
|||
|
||||
This endpoint imports new key material into an existing imported key.
|
||||
|
||||
| Method | Path |
|
||||
| :----- | :----------------------------------- |
|
||||
| `POST` | `/transit/keys/:name/import_version` |
|
||||
|
||||
~> **Note**: Keys whose material was generated by Vault do not support
|
||||
importing key material. Only keys that were previously imported into
|
||||
Vault can import new key material from an external source.
|
||||
|
@ -224,6 +232,10 @@ $ curl \
|
|||
This endpoint is used to retrieve the wrapping key to use for importing keys.
|
||||
The returned key will be a 4096-bit RSA public key.
|
||||
|
||||
| Method | Path |
|
||||
| :---- | :---------------------- |
|
||||
| `GET` | `/transit/wrapping_key` |
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
|
Loading…
Reference in a new issue