Skip to content

Commit

Permalink
Fix recovery key backup path documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed May 14, 2019
1 parent d7a7ab2 commit 0910a03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/source/api/system/rekey-recovery-key.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ fingerprint to hex-encoded PGP-encrypted key.

| Method | Path |
| :---------------------------------------- | :--------------------- |
| `GET` | `/sys/rekey-recovery-key/backup` |
| `GET` | `/sys/rekey/recovery-key-backup` |

### Sample Request

```
$ curl \
--header "X-Vault-Token: ..." \
http://127.0.0.1:8200/v1/sys/rekey-recovery-key/backup
http://127.0.0.1:8200/v1/sys/rekey/recovery-key-backup
```

### Sample Response
Expand All @@ -169,15 +169,15 @@ This endpoint deletes the backup copy of PGP-encrypted recovery key shares.

| Method | Path |
| :---------------------------------------- | :--------------------- |
| `DELETE` | `/sys/rekey-recovery-key/backup` |
| `DELETE` | `/sys/rekey/recovery-key-backup` |

### Sample Request

```
$ curl \
--header "X-Vault-Token" \
--request DELETE \
http://127.0.0.1:8200/v1/sys/rekey-recovery-key/backup
http://127.0.0.1:8200/v1/sys/rekey/recovery-key-backup
```

## Submit Key
Expand Down

0 comments on commit 0910a03

Please sign in to comment.