mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 16:27:46 +00:00
Tweaks
This commit is contained in:
@@ -7,6 +7,6 @@ export const getOracleDBConnectionListItem = () => {
|
|||||||
name: "OracleDB" as const,
|
name: "OracleDB" as const,
|
||||||
app: AppConnection.OracleDB as const,
|
app: AppConnection.OracleDB as const,
|
||||||
methods: Object.values(OracleDBConnectionMethod) as [OracleDBConnectionMethod.UsernameAndPassword],
|
methods: Object.values(OracleDBConnectionMethod) as [OracleDBConnectionMethod.UsernameAndPassword],
|
||||||
supportsPlatformManagement: true as const // TODO(andrey): Explore if possible
|
supportsPlatformManagement: true as const
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -288,7 +288,7 @@ export const TRANSITION_CONNECTION_CREDENTIALS_TO_PLATFORM: Record<
|
|||||||
[AppConnection.LDAP]: platformManagedCredentialsNotSupported, // we could support this in the future
|
[AppConnection.LDAP]: platformManagedCredentialsNotSupported, // we could support this in the future
|
||||||
[AppConnection.TeamCity]: platformManagedCredentialsNotSupported,
|
[AppConnection.TeamCity]: platformManagedCredentialsNotSupported,
|
||||||
[AppConnection.OCI]: platformManagedCredentialsNotSupported,
|
[AppConnection.OCI]: platformManagedCredentialsNotSupported,
|
||||||
[AppConnection.OracleDB]: platformManagedCredentialsNotSupported, // TODO(andrey): If managed credentials change this
|
[AppConnection.OracleDB]: transferSqlConnectionCredentialsToPlatform as TAppConnectionTransitionCredentialsToPlatform,
|
||||||
[AppConnection.OnePass]: platformManagedCredentialsNotSupported
|
[AppConnection.OnePass]: platformManagedCredentialsNotSupported
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,14 @@ const getConnectionConfig = ({
|
|||||||
}
|
}
|
||||||
// TODO(andrey): Might be interesting for later
|
// TODO(andrey): Might be interesting for later
|
||||||
case AppConnection.OracleDB: {
|
case AppConnection.OracleDB: {
|
||||||
return {};
|
return {
|
||||||
|
ssl: sslEnabled
|
||||||
|
? {
|
||||||
|
sslCA: sslCertificate,
|
||||||
|
sslServerDNMatch: sslRejectUnauthorized
|
||||||
|
}
|
||||||
|
: false
|
||||||
|
};
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
throw new Error(`Unhandled SQL Connection Config: ${app as AppConnection}`);
|
throw new Error(`Unhandled SQL Connection Config: ${app as AppConnection}`);
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ export const APP_CONNECTION_MAP: Record<
|
|||||||
[AppConnection.Postgres]: { name: "PostgreSQL", image: "Postgres.png" },
|
[AppConnection.Postgres]: { name: "PostgreSQL", image: "Postgres.png" },
|
||||||
[AppConnection.MsSql]: { name: "Microsoft SQL Server", image: "MsSql.png" },
|
[AppConnection.MsSql]: { name: "Microsoft SQL Server", image: "MsSql.png" },
|
||||||
[AppConnection.MySql]: { name: "MySQL", image: "MySql.png" },
|
[AppConnection.MySql]: { name: "MySQL", image: "MySql.png" },
|
||||||
[AppConnection.OracleDB]: { name: "OracleDB", image: "Oracle.png" },
|
[AppConnection.OracleDB]: { name: "OracleDB", image: "Oracle.png", enterprise: true },
|
||||||
[AppConnection.Camunda]: { name: "Camunda", image: "Camunda.png" },
|
[AppConnection.Camunda]: { name: "Camunda", image: "Camunda.png" },
|
||||||
[AppConnection.Windmill]: { name: "Windmill", image: "Windmill.png" },
|
[AppConnection.Windmill]: { name: "Windmill", image: "Windmill.png" },
|
||||||
[AppConnection.Auth0]: { name: "Auth0", image: "Auth0.png", size: 40 },
|
[AppConnection.Auth0]: { name: "Auth0", image: "Auth0.png", size: 40 },
|
||||||
|
|||||||
+1
-1
@@ -51,7 +51,7 @@ export const OracleDBConnectionForm = ({ appConnection, onSubmit }: Props) => {
|
|||||||
credentials: {
|
credentials: {
|
||||||
host: "",
|
host: "",
|
||||||
port: 1521,
|
port: 1521,
|
||||||
database: "FREEPDB1",
|
database: "ORCL", // Typically FREEPDB1 or ORCL
|
||||||
username: "", // Typically pdbadmin or ADMIN
|
username: "", // Typically pdbadmin or ADMIN
|
||||||
password: "",
|
password: "",
|
||||||
sslEnabled: true,
|
sslEnabled: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user