-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/1.18.x' into backport/ui/VAULT-29759/VAULT-2976…
…3/add-copy-button-secret-paths/noticeably-climbing-panda
- Loading branch information
Showing
21 changed files
with
552 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
core/seal: Fix an issue that could cause reading from sys/seal-backend-status to return stale information. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.18.0 | ||
1.18.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
--- | ||
layout: api | ||
page_title: /sys/activation-flags - HTTP API | ||
description: The `/sys/activation-flags` endpoints are used to enable features that are gated by a one-time flag. | ||
--- | ||
|
||
# `/sys/activation-flags` | ||
|
||
@include 'alerts/restricted-root.mdx' | ||
|
||
Use the `/sys/activation-flags` endpoints to read and manage Vault | ||
features that are gated by one-time flags. Gated features are | ||
blocked and return errors until activated. Once removed, you cannot | ||
un-activate gated features. | ||
|
||
## ReadActivationFlags | ||
|
||
ReadActivationFlags is an unauthenticated endpoint that returns information | ||
about gated features and their activation status as two lists: `activated` and | ||
`unactivated`. The activated list contains features ready to be used. The | ||
unactivated list contains **available** but gated features. It filters out those | ||
which are already active within your Vault instance. | ||
|
||
| Method | Path | | ||
| :----- | :---------------------- | | ||
| `GET` | `/sys/activation-flags` | | ||
|
||
### Sample request | ||
|
||
```shell-session | ||
$ curl \ | ||
--request GET \ | ||
http://127.0.0.1:8200/v1/sys/activation-flags | ||
``` | ||
|
||
### Sample response | ||
|
||
```json | ||
{ | ||
"request_id": "9f70548c-a039-24a6-147d-7fa43698e044", | ||
"lease_id": "", | ||
"lease_duration": 0, | ||
"renewable": false, | ||
"data": { | ||
"activated": [], | ||
"unactivated": [ | ||
"secrets-sync" | ||
] | ||
}, | ||
"warnings": null | ||
} | ||
``` | ||
|
||
## WriteActivationFlags | ||
|
||
WriteActivationFlags unblocks and enables gated Vault features. | ||
|
||
| Method | Path | | ||
| :----- | :---------------------------------------- | | ||
| `PUT` | `/sys/activation-flags/:feature/activate` | | ||
|
||
### URL parameters | ||
|
||
- `feature` `(string: <required>)` Feature key from ReadActivationFlags indicating the feature to activate. | ||
|
||
### Sample request | ||
|
||
```shell-session | ||
$ curl \ | ||
--request PUT \ | ||
--header "X-Vault-Token: $VAULT_TOKEN" \ | ||
http://127.0.0.1:8200/v1/sys/activation-flags/secrets-sync/activate | ||
``` | ||
|
||
### Sample response | ||
|
||
```json | ||
{ | ||
"request_id": "7636e655-e11d-e2aa-8286-bd38c1d9c600", | ||
"lease_id": "", | ||
"lease_duration": 0, | ||
"renewable": false, | ||
"data": { | ||
"activated": [ | ||
"secrets-sync" | ||
], | ||
"unactivated": [] | ||
}, | ||
"warnings": null, | ||
"mount_type": "system" | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.