Skip to content

Commit

Permalink
Docs: DR replication API updates (#20373)
Browse files Browse the repository at this point in the history
* Docs: DR replication API updates

- Add clarification for secondary_public_key parameter
- Update section header

* During activation
  • Loading branch information
brianshumate authored Apr 26, 2023
1 parent a3f86d1 commit 2532fd5
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ identifier can later be used to revoke a DR secondary's access.

- `secondary_public_key` `(string: "")` – Specifies the secondary's generated
public key, if using encryption rather than response wrapping to protect the
secondary credentials. (Vault 1.3+)
secondary credentials. (Vault 1.3+). Use this to avoid making an API call to
the primary during secondary activation.

### Sample Payload

Expand Down Expand Up @@ -249,11 +250,11 @@ $ curl \
http://127.0.0.1:8200/v1/sys/replication/dr/primary/revoke-secondary
```

## Fetch DR Secondary Public Key
## Generate DR Secondary Public Key

(Vault 1.3+)

This endpoint allows fetching a public key that is used to encrypt the returned
This endpoint allows generating a public key that is used to encrypt the returned
credential information (instead of using a response wrapped token). This avoids
needing to make an API call to the primary during activation.

Expand Down

0 comments on commit 2532fd5

Please sign in to comment.