Skip to content

Commit

Permalink
Adds note about policy needed for batch dr token (#12767)
Browse files Browse the repository at this point in the history
  • Loading branch information
hghaf099 committed Oct 7, 2021
1 parent 035eb77 commit 9b966f4
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions website/content/api-docs/system/license.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ $ curl \
~> This API is deprecated as of Vault 1.8 and will be removed in a future version of Vault.
Please use [license autoloading](/docs/enterprise/license/autoloading) instead.

This endpoint is used to install a license into Vault. The license will be
replicated to the Vault instances within the targeted cluster, but will not
replicate the license to a [performance replication](/docs/enterprise/replication) cluster. To license a
performance replication cluster, this must be run against a Vault instance within that cluster.
This endpoint is used to install a license into Vault. The license will be
replicated to the Vault instances within the targeted cluster, but will not
replicate the license to a [performance replication](/docs/enterprise/replication) cluster. To license a
performance replication cluster, this must be run against a Vault instance within that cluster.

| Method | Path |
| :----- | :------------- |
Expand All @@ -101,6 +101,13 @@ Note that this is the legacy mechanism for providing a DR operation token. It is
equally valid to provide the DR operation token in the `X-Vault-Token` header, as
with a regular vault token.

If you are using a batch `dr_operation_token`, note you will need to add the following to the token's policy

```# Manage license for DR Secondary
path "sys/replication/dr/secondary/license" {
capabilities = ["update"]
}```

### Sample Payload

```json
Expand Down

0 comments on commit 9b966f4

Please sign in to comment.