Skip to content

Commit

Permalink
Finish secret versioning docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dangtony98 committed Jan 10, 2023
1 parent e3bf279 commit b1f62ff
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
9 changes: 7 additions & 2 deletions docs/getting-started/dashboard/pit-recovery.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Point-in-Time Recovery"
---

Point-in-time (PIT) recovery allows environment variables to be rolled back to any point in time. It's powered by snapshots that get captured after mutations to environment variables.
Point-in-time recovery allows environment variables to be rolled back to any point in time. It's powered by snapshots that get captured after mutations to environment variables.

## Commits

Expand All @@ -13,6 +13,11 @@ Similar to Git, a commit in Infisical is a snapshot of your project's secrets at

## Rolling back

Your project's environment variables can be rolled back to any snapshot.
Environment variables can be rolled back to any point in time via the "Rollback to this snapshot" button.

![PIT snapshot](../../images/pit-snapshot.png)

<Note>
Rolling back environment variables to a past snapshot creates a new commit and
snapshot at the top of the stack and updates secret versions.
</Note>
14 changes: 14 additions & 0 deletions docs/getting-started/dashboard/secret-versioning.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: "Secret Versioning"
---

Secret versioning records changes made to every secret.

![secret versioning](../../images/secret-versioning.png)

<Note>
You can copy and paste a secret version value to the "Value" input field "roll
back" to that secret version. This creates a new secret version at the top of
the stack. We're releasing the ability to press and automatically roll back to
a secret version soon.
</Note>
5 changes: 0 additions & 5 deletions docs/getting-started/dashboard/versioning.mdx

This file was deleted.

Binary file added docs/images/secret-versioning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"getting-started/dashboard/project",
"getting-started/dashboard/integrations",
"getting-started/dashboard/pit-recovery",
"getting-started/dashboard/versioning",
"getting-started/dashboard/secret-versioning",
"getting-started/dashboard/audit-logs",
"getting-started/dashboard/token"
]
Expand Down

0 comments on commit b1f62ff

Please sign in to comment.