Skip to content

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

feat: adds copy token id button

Piyush Gupta5f66583feaba
diff --git a/frontend/src/pages/organization/IdentityDetailsByIDPage/components/ViewIdentityAuthModal/IdentityTokenAuthTokensTable.tsx b/frontend/src/pages/organization/IdentityDetailsByIDPage/components/ViewIdentityAuthModal/IdentityTokenAuthTokensTable.tsx
index d0d0b0fcde..5d7bf30e9e 100644
--- a/frontend/src/pages/organization/IdentityDetailsByIDPage/components/ViewIdentityAuthModal/IdentityTokenAuthTokensTable.tsx
+++ b/frontend/src/pages/organization/IdentityDetailsByIDPage/components/ViewIdentityAuthModal/IdentityTokenAuthTokensTable.tsx
@@ -22,6 +22,7 @@ import {
Tooltip,
Tr
} from "@app/components/v2";
+import { CopyButton } from "@app/components/v2/CopyButton";
import {
OrgPermissionIdentityActions,
OrgPermissionSubjects,
@@ -153,6 +154,7 @@ export const IdentityTokenAuthTokensTable = ({ tokens, identityId }: Props) => {
</Td>
<Td>
<div className="flex items-center gap-2">
+ <CopyButton value={id} size="xs" variant="plain" name="Token ID" />
<VariablePermissionCan
type={projectId ? "project" : "org"}
I={