backport of commit d50bd4eb05 (#22486)

Co-authored-by: Josh Black <raskchanky@gmail.com>
This commit is contained in:
hc-github-team-secure-vault-core
2023-08-21 18:24:30 -04:00
committed by GitHub
parent 69d9a5a249
commit e06e301ea0
3 changed files with 37 additions and 18 deletions

View File

@@ -471,6 +471,13 @@ docs](#generate-disaster-recovery-operation-token) for more information.
PEM-format files that the secondary can use when unwrapping the token from the
primary. If this and ca_file are not given, defaults to system CA roots.
- `update_primary_addrs` `array: []`  List of cluster addresses for potential
primary clusters. These addresses will be pinged in sequence, and if any of them
respond successfully, these will be recorded as the new primary addresses. This is
a lighter weight version of specifying a token and should result in less disruption
of replication. Note that it's invalid to specify this and `token` in the same API call.
They are mutually exclusive.
### Sample payload
```json
@@ -698,7 +705,7 @@ depending on the number and size of objects in the data store.
asynchronously flushed the reindex may not have applied fully and a new reindex
may need to be done. Defaults false.
- `dr_operation_token` `(string: <required>)` - DR operation token used to authorize
- `dr_operation_token` `(string: <required>)` - DR operation token used to authorize
this request.
### Sample payload
@@ -724,4 +731,4 @@ $ curl \
{
"warnings": ["..."]
}
```
```