2021-06-03 17:30:30 +00:00
|
|
|
|
---
|
|
|
|
|
layout: api
|
|
|
|
|
page_title: /sys/config/reload - HTTP API
|
|
|
|
|
description: The '/sys/config/reload' endpoint is used to reload specific parts of Vault's configuration.
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# `/sys/config/reload`
|
|
|
|
|
|
|
|
|
|
The `sys/config/reload` endpoint allows reloading specific parts of Vault's configuration.
|
|
|
|
|
Currently, it only supports reloading license information from files on disk.
|
|
|
|
|
|
|
|
|
|
| Method | Path |
|
|
|
|
|
| :----- | :---------------------------- |
|
2022-02-25 14:52:24 +00:00
|
|
|
|
| `POST` | `/sys/config/reload/:subsystem` |
|
2021-06-03 17:30:30 +00:00
|
|
|
|
|
|
|
|
|
### Parameters
|
|
|
|
|
|
|
|
|
|
- `subsystem` `(string: <required>)` - Specifies the subsystem for Vault to reload. This is part of the request URL.
|
|
|
|
|
|
|
|
|
|
## Reload License File
|
|
|
|
|
|
2021-06-18 16:19:18 +00:00
|
|
|
|
~> **Enterprise Only** – This endpoint requires Vault Enterprise.
|
|
|
|
|
|
|
|
|
|
When the `:subsystem` URL parameter is specified as `license`, Vault re-reads
|
|
|
|
|
the license file if the license was provided using the `license_path` configuration
|
|
|
|
|
option or the `VAULT_LICENSE_PATH` environment variable. The updated license is
|
|
|
|
|
applied to Vault, and Vault will then enable/disable licensed features if the features
|
|
|
|
|
of the given license are different from those of the license Vault is currently using.
|
2021-06-03 17:30:30 +00:00
|
|
|
|
|
|
|
|
|
### Sample Request
|
|
|
|
|
|
|
|
|
|
```shell-session
|
|
|
|
|
$ curl \
|
2022-02-25 14:52:24 +00:00
|
|
|
|
-X POST \
|
2021-06-03 17:30:30 +00:00
|
|
|
|
--header "X-Vault-Token: ..." \
|
|
|
|
|
'http://127.0.0.1:8200/v1/sys/config/reload/license'
|
|
|
|
|
```
|