docs: Add config/ca delete operation (#3525)

This commit is contained in:
Vishal Nayak 2017-11-03 06:19:21 -04:00 committed by GitHub
parent 87c3fb2d54
commit a7acc23034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 2 deletions

View File

@ -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