-
Notifications
You must be signed in to change notification settings - Fork 94
Snapshot Single Item Recovery Docs #1096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 7 commits
40cae9e
ae5a263
cab15a0
a210335
4931381
47a8bfa
de0854d
cfcb6e1
3db6479
dca1f71
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -36,6 +36,37 @@ Load the snapshot holding the secret you want to recover: | |||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||
<Tabs> | ||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||
<Tab heading="Web UI" group="ui"> | ||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||
1. Open a web browser to access the Vault UI and sign in to the root namespace. | ||||||||||||||||||||||||||||||||||||||
<Tip title="Namespace restriction"> | ||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||
Snapshot load and unload operations are restricted to the root namespace. All other snapshot operations | ||||||||||||||||||||||||||||||||||||||
can be performed in other namespaces. | ||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||
</Tip> | ||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||
<Tip title="Permissions Required"> | ||||||||||||||||||||||||||||||||||||||
This requires snapshot management permissions. | ||||||||||||||||||||||||||||||||||||||
</Tip> | ||||||||||||||||||||||||||||||||||||||
|
1. Open a web browser to access the Vault UI and sign in to the root namespace. | |
<Tip title="Namespace restriction"> | |
Snapshot load and unload operations are restricted to the root namespace. All other snapshot operations | |
can be performed in other namespaces. | |
</Tip> | |
<Tip title="Permissions Required"> | |
This requires snapshot management permissions. | |
</Tip> | |
Snapshot load and unload operations are restricted to the root namespace. All other snapshot operations | |
can be performed in other namespaces. | |
1. Open the Vault GUI and sign in to the root namespace. While you can perform | |
other snapshot operations from any namespace, you must perform load and | |
unload operations under the `root` namespace. |
Style correction: write in active voice
Structural correction: whenever possible, include information in normal text rather than asides
Since the permission requirement is a prerequisite, we should add it to the "Before you start" section, especially since it's probably not just a GUI requirement
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. Select **Secrets Recovery** from the left navigation menu. | |
1. Select **Secrets Recovery** from the navigation menu. |
Markdown correction: use 1.
for all items in a numbered list
Style correction: avoid referencing specific positions on the screen for UI elements
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3. Select **Upload snapshot**. | |
1. Select **Upload snapshot**. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We really try to avoid multiple screenshots because of the maintenance cost. Is there a single, "hero" screenshot we can provide that we can use to make sure folks know they're on the right screen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could remove the screenshot of the upload form. If we can only have one screenshot, I'd rather keep the screenshot which shows a loaded snapshot view rather than the empty state screenshot.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to learn more about automated snapshots. | |
1. Select your upload method. To use an automted snapshot you must provide an | |
[automated snapshot config](/vault/api-docs/system/storage/raftautosnapshots#load-a-snapshot-from-an-automated-snapshot-configuration). |
Style correction: write in active voice
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5. Click **Load snapshot** to complete the upload. | |
1. Click **Load snapshot** to complete the upload. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6. The status of the snapshot and the expiration date is shown. This also allows | |
navigation to the snapshot details view. | |
 | |
1. Monitor the upload until the status says "Ready" and the expiration date | |
populates. | |
1. Click "View details → to open the snapshot details view. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Tab heading="Web UI" group="ui"> | |
<Tab heading="GUI" group="gui"> |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Select **Secrets Recovery** from the left navigation menu. | |
 | |
Select **Secrets Recovery** from the navigation menu. to view currently loaded snapshots. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. If a snapshot has been loaded, it will appear here. | |
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really just a single step (selecting the menu entry, so we can combine them
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Tab heading="Web UI" group="ui"> | |
<Tab heading="GUI" group="gui"> |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Tip title="Permissions Required"> | |
This requires read and/or recover permissions specific to the resource. | |
</Tip> |
We should add the permission requirements to "Before you start"
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. A namespace selector will show when in the root namespace. Fill in the available fields to locate the secret to read or recover. | |
 | |
2. Upon a successful read operation, the resource can be viewed as key value pairs or as JSON. | |
 | |
 | |
3. In addition to recovering to the original resource path, recovering a copy to a new path is possible. The original resource will be unaffected. | |
 | |
 | |
Use the namespace selector to find the secret you want to read or recover. Once | |
you recover the snapshot, you can: | |
- view the snapshot data as key/value pairs or as a JSON object. | |
- recover the original resource path | |
- recover the original resource to a new path |
Again, this is just a single step so a numbered list doesn't really make sense
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Tab heading="Web UI" group="ui"> | |
<Tab heading="Web GUI" group="gui"> |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Tip title="Permissions Required"> | |
This requires recover permissions specific to the resource. | |
</Tip> |
Move permission requirements to "Before you start"
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upon a successful recovery operation, a success message with a link to the recovered resource will be shown. | |
 | |
If the recovery operation succeeds, the GUI displays a success message with a | |
link to the recovered resource. | |
 |
Style correction: write in active voice
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -31,6 +31,37 @@ Load the snapshot holding the secret you want to recover. | |||||
|
||||||
<Tabs> | ||||||
|
||||||
<Tab heading="Web UI" group="ui"> | ||||||
|
<Tab heading="Web UI" group="ui"> | |
<Tab heading="GUI" group="gui"> |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like all the steps on this pages are the same as the replicated cluster instructions? If so, we should move them into partials (like the CLI and API directions) so we can use them across both pages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The established tab name/group for GUI instructions is "GUI"