Skip to content

Commit

Permalink
backport of commit 2532fd5 (hashicorp#20384)
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Shumate <brianshumate@users.noreply.github.com>
  • Loading branch information
1 parent da943b0 commit 5d7ac8c
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 5d7ac8c

Please sign in to comment.