<?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 Updating MAS connection string via sas-admin CLI or sas-bootstrap-config in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Updating-MAS-connection-string-via-sas-admin-CLI-or-sas/m-p/970218#M30104</link>
    <description>&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;We need to update our MAS connection string without logging in to environment manager and of course not logging into even server. So I wrote playbook which retrieves password from vault, decode it , changes related uid``s password&amp;nbsp; in existing connection string. However,&amp;nbsp; I am having difficulties&amp;nbsp; to&amp;nbsp; write this updated string into MAS properties I am using&amp;nbsp; sas-bootstrap-config kv read command to read the value and tried kv write command to write it back and it appears&amp;nbsp;sas-bootstrap-config kv write command does not work at all cause it does not show any error but also it does not update the value. Does anyone know how to update the value of&amp;nbsp;&lt;SPAN&gt;sas.microanalyticservice.properties connnection string value using sas admin CLI ?&amp;nbsp;&amp;nbsp;we are using sas viya 3.5&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jul 2025 11:16:31 GMT</pubDate>
    <dc:creator>bugraduman1</dc:creator>
    <dc:date>2025-07-04T11:16:31Z</dc:date>
    <item>
      <title>Updating MAS connection string via sas-admin CLI or sas-bootstrap-config</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Updating-MAS-connection-string-via-sas-admin-CLI-or-sas/m-p/970218#M30104</link>
      <description>&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;We need to update our MAS connection string without logging in to environment manager and of course not logging into even server. So I wrote playbook which retrieves password from vault, decode it , changes related uid``s password&amp;nbsp; in existing connection string. However,&amp;nbsp; I am having difficulties&amp;nbsp; to&amp;nbsp; write this updated string into MAS properties I am using&amp;nbsp; sas-bootstrap-config kv read command to read the value and tried kv write command to write it back and it appears&amp;nbsp;sas-bootstrap-config kv write command does not work at all cause it does not show any error but also it does not update the value. Does anyone know how to update the value of&amp;nbsp;&lt;SPAN&gt;sas.microanalyticservice.properties connnection string value using sas admin CLI ?&amp;nbsp;&amp;nbsp;we are using sas viya 3.5&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 11:16:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Updating-MAS-connection-string-via-sas-admin-CLI-or-sas/m-p/970218#M30104</guid>
      <dc:creator>bugraduman1</dc:creator>
      <dc:date>2025-07-04T11:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Updating MAS connection string via sas-admin CLI or sas-bootstrap-config</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Updating-MAS-connection-string-via-sas-admin-CLI-or-sas/m-p/970317#M30117</link>
      <description>If the configuration you are trying to change is available in SAS Environment Manager, you should also be able to update it with the sas-admin CLI's configuration plugin. If you were to update the SAS Configuration Server directly through sas-bootstrap-config, your new value would likely be overwritten by the configuration service where the old value is present.&lt;BR /&gt;&lt;BR /&gt;This blog explains how you could pull down a configuration to a file, modify the file, and push it back to the configuration service:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sgf/2018/06/08/saving-and-reloading-sas-viya-configuration/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2018/06/08/saving-and-reloading-sas-viya-configuration/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I wanted to say all that before addressing the behavior that sas-bootstrap-config did not update a key. For sas-bootstrap-config kv write to work on an existing key, you need to use the --force option. But again in your case you would not want to use sas-bootstrap-config as the parameter is defined through the configuration service, which would overwrite what was written by sas-bootstrap-config.</description>
      <pubDate>Mon, 07 Jul 2025 20:07:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Updating-MAS-connection-string-via-sas-admin-CLI-or-sas/m-p/970317#M30117</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-07-07T20:07:02Z</dc:date>
    </item>
  </channel>
</rss>

