<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Databricks CLI binding storage credential to a workspace in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-cli-binding-storage-credential-to-a-workspace/m-p/136746#M50639</link>
    <description>&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;This appears to be a documentation inconsistency&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;. The CLI implementation seems to:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;1. Require &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;binding_type&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; to be explicitly specified (contradicting the docs)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;2. Require it to be placed &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;within&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; each workspace object, not as a top-level parameter&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;The fact that removing bindings works suggests the CLI can parse the structure correctly for &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;remove&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; operations but has stricter&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;requirements for &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;add&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; operations.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Additional Verification Steps&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;Could you share:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; 1&lt;/SPAN&gt;. Are you using numeric workspace_id or string? Try ensuring it's numeric without quotes&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; 2&lt;/SPAN&gt;. Which version of the Databricks CLI are you using?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;This would help confirm if it's a CLI version-specific issue or a persistent bug in the workspace bindings implementation.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Oct 2025 13:20:30 GMT</pubDate>
    <dc:creator>AbhaySingh</dc:creator>
    <dc:date>2025-10-30T13:20:30Z</dc:date>
    <item>
      <title>Databricks CLI binding storage credential to a workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-cli-binding-storage-credential-to-a-workspace/m-p/136630#M50615</link>
      <description>&lt;P&gt;In the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/connect/unity-catalog/cloud-storage/manage-storage-credentials?language=CLI#bind-a-storage-credential-to-one-or-more-workspaces" target="_blank" rel="nofollow noopener noreferrer"&gt;documentation from Databricks&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;it says to run the below for binding a storage credential to a workspace (after already completing step 1 to update the&lt;SPAN&gt;&amp;nbsp;`&lt;/SPAN&gt;isolation-mode`&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to be&lt;SPAN&gt;&amp;nbsp;`&lt;/SPAN&gt;ISOLATED`):&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;databricks workspace-bindings update-bindings storage-credential &amp;lt;my-storage-credential&amp;gt; \
--json '{
  "add": [{"workspace_id": &amp;lt;workspace-id&amp;gt;}...],
  "remove": [{"workspace_id": &amp;lt;workspace-id&amp;gt;}...]
}' --profile &amp;lt;profile-name&amp;gt;&lt;/PRE&gt;&lt;P&gt;However, when running this (with my&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;storage-credential&amp;gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;workspace-id&amp;gt;, and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;profile-name&amp;gt;) I receive an error:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error: Supported binding types for STORAGE_CREDENTIAL are BINDING_TYPE_READ_WRITE&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It explicitly states in the documentation that you don't even need to specify a&lt;SPAN&gt;&amp;nbsp;`&lt;/SPAN&gt;binding_type`&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the json as the read-only binding is not available for storage credentials. But I receive this error which seems as if I have set an incorrect binding type, even though I have not set one at all. I am confident in the rest of the syntax and authentication, because if I add the workspace binding manually in the Databricks UI I can run this same command to "remove" the binding and it runs successfully.&lt;/P&gt;&lt;P&gt;If I do include the&lt;SPAN&gt;&amp;nbsp;`&lt;/SPAN&gt;binding_type`&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of&lt;SPAN&gt;&amp;nbsp;`&lt;/SPAN&gt;BINDING_TYPE_READ_WRITE`&amp;nbsp;in the json, I receive an error&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error: assigned workspace 0 does not exist or is not assigned the same metastore as the current workspace.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the documentation incorrect, or is there a bug in workspace binding for storage-credentials via the CLI?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 20:17:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-cli-binding-storage-credential-to-a-workspace/m-p/136630#M50615</guid>
      <dc:creator>tt_921</dc:creator>
      <dc:date>2025-10-29T20:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks CLI binding storage credential to a workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-cli-binding-storage-credential-to-a-workspace/m-p/136746#M50639</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;This appears to be a documentation inconsistency&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;. The CLI implementation seems to:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;1. Require &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;binding_type&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; to be explicitly specified (contradicting the docs)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;2. Require it to be placed &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;within&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; each workspace object, not as a top-level parameter&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;The fact that removing bindings works suggests the CLI can parse the structure correctly for &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;remove&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; operations but has stricter&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;requirements for &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;add&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; operations.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Additional Verification Steps&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;Could you share:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; 1&lt;/SPAN&gt;. Are you using numeric workspace_id or string? Try ensuring it's numeric without quotes&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; 2&lt;/SPAN&gt;. Which version of the Databricks CLI are you using?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;This would help confirm if it's a CLI version-specific issue or a persistent bug in the workspace bindings implementation.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 13:20:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-cli-binding-storage-credential-to-a-workspace/m-p/136746#M50639</guid>
      <dc:creator>AbhaySingh</dc:creator>
      <dc:date>2025-10-30T13:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks CLI binding storage credential to a workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-cli-binding-storage-credential-to-a-workspace/m-p/136747#M50640</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/192145"&gt;@AbhaySingh&lt;/a&gt;&amp;nbsp;for your response.&lt;/P&gt;&lt;P&gt;Databricks CLI version:&amp;nbsp;Databricks CLI v0.274.0&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a numeric workspace_id, which had worked for the removal of bindings. I tried adding a binding now with string in quotes and received the same errors as before. First without specifying any binding type:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error: Supported binding types for STORAGE_CREDENTIAL are BINDING_TYPE_READ_WRITE&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And second when specifying BINDING_TYPE_READ_WRITE, which&amp;nbsp;&lt;SPAN class=""&gt;is placed&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;within&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;each workspace object, not as a top-level parameter:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error: assigned workspace 0 does not exist or is not assigned the same metastore as the current workspace&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 14:23:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-cli-binding-storage-credential-to-a-workspace/m-p/136747#M50640</guid>
      <dc:creator>tt_921</dc:creator>
      <dc:date>2025-10-30T14:23:47Z</dc:date>
    </item>
  </channel>
</rss>

