Skip to content

[BUG] For command 'lakeview publish', parameter '--embed-credentials' always set #4001

@timo-aho

Description

@timo-aho

Describe the issue

According to Azure and AWS documentations --embed-credentials parameter should be
"Flag to indicate if the publisher's credentials should be embedded in the published dashboard."
However, the credentials are embedded even if the flag is not given.

Links:
https://learn.microsoft.com/en-gb/azure/databricks/dev-tools/cli/reference/lakeview-commands#databricks-lakeview-publish
https://docs.databricks.com/aws/en/dev-tools/cli/reference/lakeview-commands#databricks-lakeview-publish

Steps to reproduce the behavior

  1. Run databricks lakeview publish REDACTED --warehouse-id REDACTED
  2. Get response
{
  "display_name":"REDACTED",
  "embed_credentials":true,
  "revision_create_time":"2025-11-25T16:42:42.420Z",
  "warehouse_id":"REDACTED"
}

Expected Behavior

Getting response

{
  "display_name":"REDACTED",
  "embed_credentials":false,
  "revision_create_time":"2025-11-25T16:42:42.420Z",
  "warehouse_id":"REDACTED"
}

Actual Behavior

The credentials are embedded, even if they should not be.

OS and CLI version

OS: Ubuntu 24.04.3
CLI version: 0.278.0

Is this a regression?

Not tested on previous versions

Debug Logs

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLICLI related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions