Skip to content

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

document databricks connection scopes field

DimitrisStaratzis94d947fc6145
diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.ts
index b8828bae17..7c6ed168ad 100644
--- a/backend/src/lib/api-docs/constants.ts
+++ b/backend/src/lib/api-docs/constants.ts
@@ -2997,6 +2997,10 @@ export const AppConnections = {
clientId: "The client ID used to authenticate with Camunda.",
clientSecret: "The client secret used to authenticate with Camunda."
},
+ DATABRICKS: {
+ scopes:
+ "The OAuth scopes to request for the service principal's token. Must be scopes assigned to the client secret. Defaults to all-apis when omitted or empty."
+ },
WINDMILL: {
instanceUrl: "The Windmill instance URL to connect with (defaults to https://app.windmill.dev).",
accessToken: "The access token to use to connect with Windmill."
diff --git a/backend/src/services/app-connection/databricks/databricks-connection-schemas.ts b/backend/src/services/app-connection/databricks/databricks-connection-schemas.ts
index 9c353070aa..818bd9b760 100644
--- a/backend/src/services/app-connection/databricks/databricks-connection-schemas.ts
+++ b/backend/src/services/app-connection/databricks/databricks-connection-schemas.ts
@@ -20,6 +20,7 @@ export const DatabricksConnectionServicePrincipalInputCredentialsSchema = z.obje
.array()
.max(Object.values(DatabricksConnectionScope).length)
.optional()
+ .describe(AppConnections.CREDENTIALS.DATABRICKS.scopes)
});
const DatabricksConnectionServicePrincipalOutputCredentialsSchema = z