docs: Add config/ca delete operation (#3525)
This commit is contained in:
parent
87c3fb2d54
commit
a7acc23034
|
@ -608,8 +608,8 @@ This endpoint allows submitting the CA information for the backend via an SSH
|
|||
key pair. _If you have already set a certificate and key, they will be
|
||||
overridden._
|
||||
|
||||
| Method | Path | Produces |
|
||||
| :------- | :--------------------------- | :--------------------- |
|
||||
| Method | Path | Produces |
|
||||
| :------- | :--------------------------- | :------------------------- |
|
||||
| `POST` | `/ssh/config/ca` | `200/204 application/json` |
|
||||
|
||||
### Parameters
|
||||
|
@ -660,6 +660,23 @@ This will return a `200` response if `generate_signing_key` was true:
|
|||
}
|
||||
```
|
||||
|
||||
## Delete CA Information
|
||||
|
||||
This endpoint deletes the CA information for the backend via an SSH key pair.
|
||||
|
||||
| Method | Path | Produces |
|
||||
| :------- | :--------------------------- | :--------------------- |
|
||||
| `DELETE` | `/ssh/config/ca` | `204 (empty body)` |
|
||||
|
||||
### Sample Request
|
||||
|
||||
```
|
||||
$ curl \
|
||||
--header "X-Vault-Token: ..." \
|
||||
--request DELETE \
|
||||
https://vault.rocks/v1/ssh/config/ca
|
||||
```
|
||||
|
||||
## Read Public Key (Unauthenticated)
|
||||
|
||||
This endpoint returns the configured/generated public key. This is an unauthenticated
|
||||
|
|
Loading…
Reference in New Issue