Skip to content

Variable: databricksProfileSummarySchema

const databricksProfileSummarySchema: ZodObject<{ accountId: ZodOptional<ZodString>; authType: ZodEnum<{ app_obo: "app_obo"; app_sp: "app_sp"; databricks-cli: "databricks-cli"; oauth-m2m: "oauth-m2m"; pat: "pat"; }>; host: ZodOptional<ZodString>; name: ZodString; principal: ZodString; target: ZodEnum<{ account: "account"; unified: "unified"; workspace: "workspace"; }>; workspaceId: ZodOptional<ZodString>; }, $strip>

Secret-free Databricks profile metadata.

  • name: Profile name from the Databricks CLI configuration.
  • host (optional): Workspace or account host URL.
  • accountId (optional): Account id when the profile targets an account.
  • workspaceId (optional): Workspace id when the profile targets a workspace.
  • target: Whether this profile authenticates a workspace, account, or unified host.
  • authType: Credential kind used by this profile.
  • principal: Secret-free principal label suitable for selectors.