Skip to content

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

Update frontend/src/pages/pam/PamAccessPage/components/LaunchSessionSheet.tsx

Andrebfdd94a0f946
diff --git a/frontend/src/pages/pam/PamAccessPage/components/LaunchSessionSheet.tsx b/frontend/src/pages/pam/PamAccessPage/components/LaunchSessionSheet.tsx
index 0a9abc894a..f9dc1f3654 100644
--- a/frontend/src/pages/pam/PamAccessPage/components/LaunchSessionSheet.tsx
+++ b/frontend/src/pages/pam/PamAccessPage/components/LaunchSessionSheet.tsx
@@ -59,7 +59,7 @@ const LaunchTab = ({
const cliHost = selectedHost ?? (needsHost ? "HOST" : undefined);
const cliCommand = `infisical pam access ${account.folderName}/${account.name}${
cliHost ? ` --target '${cliHost}'` : ""
- } --domain ${window.location.origin}`;
+ } --domain '${window.location.origin}'`;
const handleCopyCommand = async () => {
await navigator.clipboard.writeText(cliCommand);
createNotification({ text: "Command copied to clipboard", type: "success" });