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
misc: addressed greptie
Sheen Capadngan7e7f8006b0c9
diff --git a/frontend/src/pages/pam/PamAccessPage/components/LaunchSessionSheet.tsx b/frontend/src/pages/pam/PamAccessPage/components/LaunchSessionSheet.tsxindex dc0c9a6f79..e12ca2c64c 100644--- a/frontend/src/pages/pam/PamAccessPage/components/LaunchSessionSheet.tsx+++ b/frontend/src/pages/pam/PamAccessPage/components/LaunchSessionSheet.tsx@@ -30,8 +30,8 @@ export const LaunchSessionSheet = ({ account, isOpen, onOpenChange }: Props) =>const typeName = PAM_ACCOUNT_TYPE_MAP[account.accountType]?.name ?? account.accountType;const cliCommand = `infisical pam access ${account.folderName}/${account.name}`;- const handleCopyCommand = () => {- navigator.clipboard.writeText(cliCommand);+ const handleCopyCommand = async () => {+ await navigator.clipboard.writeText(cliCommand);createNotification({text: "Command copied to clipboard",type: "success"