Skip to content

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

Merge pull request #8035 from Infisical/PAM-440

carlosmonastyrski0f37ae51d8ad
diff --cc backend/src/lib/gateway-v2/gateway-v2.ts
index 185f9abb7d,f011adc532..bbec1bfcfc
--- a/backend/src/lib/gateway-v2/gateway-v2.ts
+++ b/backend/src/lib/gateway-v2/gateway-v2.ts
@@@ -152,14 -143,12 +152,15 @@@ export const createGatewayConnection =
[GatewayProxyProtocol.Adcs]: ["infisical-adcs"],
[GatewayProxyProtocol.Discovery]: ["infisical-discovery"],
[GatewayProxyProtocol.ConnectionTest]: ["infisical-connection-test"],
- [GatewayProxyProtocol.WinRm]: ["infisical-winrm"]
+ [GatewayProxyProtocol.WinRm]: ["infisical-winrm"],
+ [GatewayProxyProtocol.Sql]: ["infisical-sql"]
};
+ // SNI cannot carry an IP literal (RFC 6066), so an address goes in host and a name in servername.
+ const isIpLiteral = Boolean(net.isIP(serverName));
+
const tlsOptions: tls.ConnectionOptions = {
- socket: relayConn,
+ socket: transportConn,
cert: gateway.clientCertificate,
key: gateway.clientPrivateKey,
ca: splitPemChain(gateway.serverCertificateChain),
diff --cc docs/docs.json
index b260bd5af5,ab18a39504..44a9f01ee3
--- a/docs/docs.json
+++ b/docs/docs.json
@@@ -709,9 -698,9 +709,10 @@@
"documentation/platform/pam/accounts/postgresql",
"documentation/platform/pam/accounts/mysql",
"documentation/platform/pam/accounts/mssql",
+ "documentation/platform/pam/accounts/oracledb",
"documentation/platform/pam/accounts/mongodb",
"documentation/platform/pam/accounts/redis",
+ "documentation/platform/pam/accounts/snowflake",
"documentation/platform/pam/accounts/ssh",
"documentation/platform/pam/accounts/kubernetes",
"documentation/platform/pam/accounts/aws-iam",
diff --cc docs/documentation/platform/pam/accounts/overview.mdx
index bd4a79cb62,18c2ec6758..cda51e9b7d
--- a/docs/documentation/platform/pam/accounts/overview.mdx
+++ b/docs/documentation/platform/pam/accounts/overview.mdx
@@@ -17,9 -17,9 +17,10 @@@ PAM supports the following account type
| [**PostgreSQL**](/documentation/platform/pam/accounts/postgresql) | PostgreSQL databases | ✓ |
| [**MySQL**](/documentation/platform/pam/accounts/mysql) | MySQL databases | ✓ |
| [**MS SQL**](/documentation/platform/pam/accounts/mssql) | Microsoft SQL Server | |
+ | [**Oracle**](/documentation/platform/pam/accounts/oracledb) | Oracle databases | |
| [**MongoDB**](/documentation/platform/pam/accounts/mongodb) | MongoDB databases | |
| [**Redis**](/documentation/platform/pam/accounts/redis) | Redis databases | ✓ |
+| [**Snowflake**](/documentation/platform/pam/accounts/snowflake) | Snowflake accounts | ✓ |
| [**SSH**](/documentation/platform/pam/accounts/ssh) | Linux/Unix servers | ✓ |
| [**Kubernetes**](/documentation/platform/pam/accounts/kubernetes) | Kubernetes clusters | |
| [**AWS IAM**](/documentation/platform/pam/accounts/aws-iam) | AWS IAM roles | ✓ |
diff --cc frontend/src/pages/pam/PamTemplatesPage/components/TemplateDetailSheet.tsx
index 819a867b01,dd4f1f3f21..3208a5996a
--- a/frontend/src/pages/pam/PamTemplatesPage/components/TemplateDetailSheet.tsx
+++ b/frontend/src/pages/pam/PamTemplatesPage/components/TemplateDetailSheet.tsx
@@@ -36,9 -36,9 +36,10 @@@ import { AppConnection, useListAvailabl
import {
accountTypeRequiresRecording,
isRotatablePamAccountType,
+ maxGeneratedPasswordLength,
PAM_ROTATION_INTERVAL_OPTIONS,
PamAccountType,
+ PamPolicyType,
useGetPamAccountTemplate,
usePamAccountTypeMap,
useUpdatePamAccountTemplate