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
improvement(agent-vault): mark agent vault as preview (#8111)
Saif Ur Rahmanbf96e378efc9
diff --git a/docs/docs.json b/docs/docs.jsonindex 267cfda33c..ce054b2f44 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -765,6 +765,7 @@{"item": "Agent Vault","icon": "sparkles",+ "tag": "PREVIEW","pages": ["documentation/platform/agent-vault/overview",{diff --git a/docs/documentation/platform/agent-vault/overview.mdx b/docs/documentation/platform/agent-vault/overview.mdxindex 94bfa26b4c..955f548fa6 100644--- a/docs/documentation/platform/agent-vault/overview.mdx+++ b/docs/documentation/platform/agent-vault/overview.mdx@@ -7,6 +7,11 @@ icon: "sparkles"**Infisical Agent Vault** equips AI agents with what they need to do work, starting with secure access to the services they call: LLM providers, GitHub, Slack, and more.+<Warning>+ Agent Vault is in preview and subject to change. Not recommended for+ production use.+</Warning>+Agents like Claude Code or OpenClaw work as they always do. Their requests leave your network with the real credential attached, and the agent never holds it.```mermaiddiff --git a/docs/style.css b/docs/style.cssindex 47ba72e89f..ad6f3346c8 100644--- a/docs/style.css+++ b/docs/style.css@@ -1527,3 +1527,37 @@ a.ifx-card__title:hover .ifx-card__chevron {color: #d8b4fe;border-color: #6b21a8;}++/* Mintlify honors `tag` only on sidebar groups, so a navbar dropdown item has no+ way to flag Agent Vault as preview. Both nav items are flex rows, so ::after+ lands after the label. The mobile item appends a checkmark when it is the+ current page; `order` keeps that trailing the pill. Depends on Mintlify's+ navbar markup; recheck after a CLI upgrade. */++.nav-dropdown-item[href$="/documentation/platform/agent-vault/overview"]::after,+.mobile-nav-tabs-item[href$="/documentation/platform/agent-vault/overview"]::after {+ content: "PREVIEW";+ flex: none;+ border-radius: 0.375rem;+ padding: 0.125rem 0.25rem;+ font-size: 0.65rem;+ font-weight: 700;+ line-height: 1.125;+ background-color: #fef3c7;+ color: #b45309;+}++.dark .nav-dropdown-item[href$="/documentation/platform/agent-vault/overview"]::after,+.dark .mobile-nav-tabs-item[href$="/documentation/platform/agent-vault/overview"]::after {+ background-color: rgba(120, 53, 15, 0.35);+ color: #fcd34d;+}++.mobile-nav-tabs-item[href$="/documentation/platform/agent-vault/overview"] {+ justify-content: flex-start;+}++.mobile-nav-tabs-item[href$="/documentation/platform/agent-vault/overview"] > svg {+ order: 1;+ margin-left: auto;+}diff --git a/frontend/src/components/agent-vault/PreviewBadge.tsx b/frontend/src/components/agent-vault/PreviewBadge.tsxnew file mode 100644index 0000000000..353129a821--- /dev/null+++ b/frontend/src/components/agent-vault/PreviewBadge.tsx@@ -0,0 +1,24 @@+import { Badge, Tooltip, TooltipContent, TooltipTrigger } from "@app/components/v3";+import { ProjectType } from "@app/hooks/api/projects/types";++export const PreviewBadge = ({ type }: { type: ProjectType }) => {+ if (type !== ProjectType.AgentVault) return null;++ return (+ <Tooltip>+ <TooltipTrigger asChild>+ <Badge+ variant="warning"+ tabIndex={0}+ onClick={(e) => e.stopPropagation()}+ onKeyDown={(e) => e.stopPropagation()}+ >+ Preview+ </Badge>+ </TooltipTrigger>+ <TooltipContent>+ Agent Vault is in preview and subject to change. Not recommended for production use.+ </TooltipContent>+ </Tooltip>+ );+};diff --git a/frontend/src/layouts/ProjectLayout/components/TypeSelect/TypeSelect.tsx b/frontend/src/layouts/ProjectLayout/components/TypeSelect/TypeSelect.tsxindex 7f8b2c609b..2c363c1521 100644--- a/frontend/src/layouts/ProjectLayout/components/TypeSelect/TypeSelect.tsx+++ b/frontend/src/layouts/ProjectLayout/components/TypeSelect/TypeSelect.tsx@@ -2,6 +2,7 @@ import { useMemo, useState } from "react";import { useLocation, useNavigate, useParams, useSearch } from "@tanstack/react-router";import { Check } from "lucide-react";+import { PreviewBadge } from "@app/components/agent-vault/PreviewBadge";import { CertManagerNotConfiguredModal } from "@app/components/projects/CertManagerNotConfiguredModal";import { Command, CommandGroup, CommandItem, CommandList } from "@app/components/v3";import { useOrganization } from "@app/context";@@ -134,6 +135,7 @@ const TypeSelectInner = ({<ProductIcon className="h-[14px] w-[14px] shrink-0" /><span className="truncate">{pillLabel}</span></button>+ <PreviewBadge type={currentType} /><NavbarSwitcherTrigger aria-label="switch-product-type" /><NavbarSwitcherContent className="w-80"><Command>diff --git a/frontend/src/pages/organization/ProjectsPage/components/ProjectCategoryOverview.tsx b/frontend/src/pages/organization/ProjectsPage/components/ProjectCategoryOverview.tsxindex b07db1dd8a..2f4d917483 100644--- a/frontend/src/pages/organization/ProjectsPage/components/ProjectCategoryOverview.tsx+++ b/frontend/src/pages/organization/ProjectsPage/components/ProjectCategoryOverview.tsx@@ -1,6 +1,7 @@import { useMemo, useState } from "react";import { Link, useNavigate } from "@tanstack/react-router";+import { PreviewBadge } from "@app/components/agent-vault/PreviewBadge";import { createNotification } from "@app/components/notifications";import { CertManagerNotConfiguredModal } from "@app/components/projects/CertManagerNotConfiguredModal";import { CertManagerSelectInstanceModal } from "@app/components/projects/CertManagerSelectInstanceModal";@@ -485,12 +486,13 @@ export const ProjectCategoryOverview = () => {<Icon className={iconClassName} /></div><div className="min-w-0 flex-1">- <CardDescription className="text-base font-semibold text-foreground">+ <CardDescription className="flex items-center gap-1.5 text-base font-semibold text-foreground"><spanclassName={`underline decoration-[1.5px] underline-offset-4 ${titleUnderlineClassName}`}>{getProjectTitle(type)}</span>+ <PreviewBadge type={type} /></CardDescription><p className="mt-1 line-clamp-2 text-sm leading-relaxed text-accent">{getProjectDescription(type)}