Skip to content

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

chore(pam-windows): drop unused TWindowsSessionCredentials type

bernie-gb753c915fe64
diff --git a/frontend/src/hooks/api/pam/types/windows-server-resource.ts b/frontend/src/hooks/api/pam/types/windows-server-resource.ts
index d4df078110..fb7f7ee08c 100644
--- a/frontend/src/hooks/api/pam/types/windows-server-resource.ts
+++ b/frontend/src/hooks/api/pam/types/windows-server-resource.ts
@@ -44,17 +44,3 @@ export type TWindowsAccount = TBasePamAccount & {
internalMetadata: TWindowsAccountMetadata;
};
-// Sessions
-// The session-credentials endpoint remaps `hostname` to `host` so the
-// gateway's handler dispatch can share one code path across all resource
-// types. See getSessionCredentials in pam-account-service on the backend.
-export type TWindowsSessionCredentials = {
- protocol: WindowsProtocol.RDP;
- host: string;
- port: number;
- winrmPort: number;
- useWinrmHttps: boolean;
- winrmRejectUnauthorized: boolean;
- winrmCaCert?: string;
- winrmTlsServerName?: string;
-} & TWindowsCredentials;