Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat: add new images and update messaging in EncryptionKeyRotationSection for clarity
Victor Hugo dos Santos5b72338b38bd
diff --git a/docs/images/self-hosting/guides/rotating-encryption-key/discard-key.png b/docs/images/self-hosting/guides/rotating-encryption-key/discard-key.pngnew file mode 100644index 0000000000..bf7d6e5129Binary files /dev/null and b/docs/images/self-hosting/guides/rotating-encryption-key/discard-key.png differdiff --git a/docs/images/self-hosting/guides/rotating-encryption-key/generate-key.png b/docs/images/self-hosting/guides/rotating-encryption-key/generate-key.pngindex 4aad1109a7..6e6bf14093 100644Binary files a/docs/images/self-hosting/guides/rotating-encryption-key/generate-key.png and b/docs/images/self-hosting/guides/rotating-encryption-key/generate-key.png differdiff --git a/docs/images/self-hosting/guides/rotating-encryption-key/remove-key.png b/docs/images/self-hosting/guides/rotating-encryption-key/remove-key.pngindex 3efbc55509..be18ef8024 100644Binary files a/docs/images/self-hosting/guides/rotating-encryption-key/remove-key.png and b/docs/images/self-hosting/guides/rotating-encryption-key/remove-key.png differdiff --git a/docs/self-hosting/guides/rotating-the-encryption-key.mdx b/docs/self-hosting/guides/rotating-the-encryption-key.mdxindex 5e252eeafa..9245b987b3 100644--- a/docs/self-hosting/guides/rotating-the-encryption-key.mdx+++ b/docs/self-hosting/guides/rotating-the-encryption-key.mdx@@ -43,8 +43,9 @@ value**, so generating a key changes nothing until you deploy it.The key is shown once and is never recoverable. Copy it into your secret store before closing thedialog, together with the **label** shown beside it.- If the key may have been exposed while you copied it, select **Discard generated key**. It can no- longer be applied, and you can generate another.+ If the key may have been exposed while you copied it, you can discard the generated key or just generate a new one.++ </Step>@@ -71,7 +72,7 @@ value**, so generating a key changes nothing until you deploy it.exposure yet.The panel tells you when an instance last started on the old key. When every instance has restarted- on the new key, select **Remove old key**.+ on the new key, select **Deactivate now** or click the icon button at the previous key row.diff --git a/frontend/src/pages/admin/EncryptionPage/components/EncryptionKeyRotationSection.tsx b/frontend/src/pages/admin/EncryptionPage/components/EncryptionKeyRotationSection.tsxindex 941b895a49..ea48b4ca4f 100644--- a/frontend/src/pages/admin/EncryptionPage/components/EncryptionKeyRotationSection.tsx+++ b/frontend/src/pages/admin/EncryptionPage/components/EncryptionKeyRotationSection.tsx@@ -89,7 +89,7 @@ export const EncryptionKeyRotationSection = () => {return (<Card className="mt-6"><CardHeader>- <CardTitle>Root encryption key</CardTitle>+ <CardTitle>Root Encryption Keys</CardTitle></CardHeader><CardContent><Alert variant="warning">@@ -146,7 +146,7 @@ export const EncryptionKeyRotationSection = () => {<><Card className="mt-6"><CardHeader>- <CardTitle>Root encryption keys</CardTitle>+ <CardTitle>Root Encryption Keys</CardTitle><CardDescription>Rotate the key that protects every secret in this instance. Every key is kept here afterit is removed, so you can tell which archived key a restored backup needs.@@ -155,7 +155,7 @@ export const EncryptionKeyRotationSection = () => {<CardAction><Button size="lg" onClick={handleGenerate} isPending={isCreating}><PlusIcon />- Generate new key+ Generate New Key</Button></CardAction>)}@@ -190,7 +190,7 @@ export const EncryptionKeyRotationSection = () => {className="cursor-pointer underline underline-offset-4 hover:text-foreground"onClick={() => setIsDeactivateOpen(true)}>- Deactivate now+ Deactivate Now</button></p></AlertDescription>@@ -203,7 +203,7 @@ export const EncryptionKeyRotationSection = () => {<TableHeader><TableRow><TableHead>Label</TableHead>- <TableHead>Active from</TableHead>+ <TableHead>Active From</TableHead><TableHead>Status</TableHead><TableHead variant="action" className="pr-3" /></TableRow>@@ -222,7 +222,7 @@ export const EncryptionKeyRotationSection = () => {<TableCell><Badge variant="info"><CircleDashedIcon />- Staged, not applied+ Staged, Not Applied</Badge></TableCell><TableCell variant="action" className="pr-3">@@ -333,7 +333,7 @@ export const EncryptionKeyRotationSection = () => {><AlertDialogContent className="sm:max-w-xl!"><AlertDialogHeader>- <AlertDialogTitle>Deactivate the previous key</AlertDialogTitle>+ <AlertDialogTitle>Deactivate the Previous Key</AlertDialogTitle><AlertDialogDescription>The key{" "}{rootKey.expiring.label ? (@@ -412,7 +412,7 @@ export const EncryptionKeyRotationSection = () => {isPending={isRemoving}onClick={handleRemoveExpiring}>- Deactivate key+ Deactivate Key</Button></AlertDialogFooter></AlertDialogContent>@@ -422,7 +422,7 @@ export const EncryptionKeyRotationSection = () => {<Dialog open={Boolean(generatedKey)} onOpenChange={(open) => !open && setGeneratedKey(null)}><DialogContent className="max-w-3xl"><DialogHeader>- <DialogTitle>Copy your new encryption key</DialogTitle>+ <DialogTitle>Copy Your New Encryption Key</DialogTitle><DialogDescription>This is the only time it will be shown. If you lose it before applying it, discard itand generate another.@@ -501,7 +501,7 @@ export const EncryptionKeyRotationSection = () => {isDisabled={Boolean(generatedKey?.removesExpiringKey) && !acceptsKeyReplacement}onClick={() => setGeneratedKey(null)}>- I have stored the key+ I Have Stored the Key</Button></DialogFooter></DialogContent>