Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix(frontend): correct stale API key copy in personal settings

Claude72ab065df922
diff --git a/frontend/src/pages/user/PersonalSettingsPage/components/PersonalTabGroup/PersonalTabGroup.tsx b/frontend/src/pages/user/PersonalSettingsPage/components/PersonalTabGroup/PersonalTabGroup.tsx
index 5d97680794..c6bc1e0e46 100644
--- a/frontend/src/pages/user/PersonalSettingsPage/components/PersonalTabGroup/PersonalTabGroup.tsx
+++ b/frontend/src/pages/user/PersonalSettingsPage/components/PersonalTabGroup/PersonalTabGroup.tsx
@@ -23,7 +23,7 @@ type Props = {
const tabs = [
{ name: "General", key: "general" },
{ name: "Authentication", key: "authentication" },
- { name: "API keys", key: "api-keys", icon: TriangleAlertIcon }
+ { name: "API Keys", key: "api-keys", icon: TriangleAlertIcon }
] satisfies { name: string; key: PersonalSettingsTab; icon?: typeof TriangleAlertIcon }[];
export const PersonalTabGroup = ({ selectedTab, onTabChange }: Props) => {
@@ -36,7 +36,7 @@ export const PersonalTabGroup = ({ selectedTab, onTabChange }: Props) => {
<TabsList variant="filled" aria-label="Personal settings sections">
{tabs.map(({ name, key, icon: Icon }) => (
<TabsTrigger value={key} key={key}>
- {Icon && <Icon aria-hidden className="text-warning" />}
+ {Icon && <Icon aria-hidden className="text-danger" />}
{name}
</TabsTrigger>
))}
@@ -48,13 +48,13 @@ export const PersonalTabGroup = ({ selectedTab, onTabChange }: Props) => {
<PersonalAuthTab />
</TabsContent>
<TabsContent value="api-keys">
- <Alert variant="warning">
+ <Alert variant="danger">
<KeyRoundIcon />
- <AlertTitle>API keys are deprecated</AlertTitle>
+ <AlertTitle>API key authentication is no longer supported</AlertTitle>
<AlertDescription>
<p>
- Use machine identities for programmatic access. API keys will be removed in a future
- release. See the{" "}
+ Existing keys no longer authenticate requests. Use machine identities for programmatic
+ access. See the{" "}
<a
href="https://infisical.com/docs/documentation/platform/identities/overview"
target="_blank"