<?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: Fetching credentials via pattern in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/97950#M17303</link>
    <description>&lt;P&gt;Using * will work here but star will match other patters as well which you may not want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save the pattern as :&amp;nbsp;[a-z]{2}-testsrv[0-9]{1}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can have a Test Command to check if your Credentials are actually working or not. Below WFA PoSH code can be of great help to see if your pattern can actually get you the desired credemtials.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;### Begin ###&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;param&lt;BR /&gt;(&lt;BR /&gt;[parameter(Mandatory=$true, HelpMessage="Host Name")]&lt;BR /&gt;[string]$Host&lt;/P&gt;&lt;P&gt;)&lt;BR /&gt;$cd=Get-WfaCredentials $Host&lt;BR /&gt;if(!$cd)&lt;BR /&gt;{&lt;BR /&gt;get-WfaLogger -info -Message "Not found"&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;$pass=ConvertFromSecureToPlain -SecurePassword $cd.Password&lt;/P&gt;&lt;P&gt;Get-WfaLogger -info -Message $cd.UserName&lt;BR /&gt;Get-WfaLogger -info -Message $pass&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;##End ##&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
    <pubDate>Wed, 03 Dec 2014 06:33:41 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2014-12-03T06:33:41Z</dc:date>
    <item>
      <title>Fetching credentials via pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/97902#M17295</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ilike to use a pattern for some credentials.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pattern would be:&lt;/P&gt;&lt;P&gt;??-testsrv?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But once I fetch them from within a command:&lt;/P&gt;&lt;P&gt;$mysrv = "as-testsrv2"&lt;/P&gt;&lt;P&gt;$mycreds = Get-WfaCredentials -Host $mysrv -ErrorAction stop&lt;/P&gt;&lt;P&gt;Invoke-NaSsh -Name $mysrv&amp;nbsp; -Command $(ls -la) -Credential $mycreds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&amp;gt; I get a permission denied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&amp;gt; If I put&lt;/P&gt;&lt;P&gt;as-testsrv2&lt;/P&gt;&lt;P&gt;directly into the credentials list it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody help here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:23:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/97902#M17295</guid>
      <dc:creator>THORSTEN_KRAUSE</dc:creator>
      <dc:date>2025-06-05T05:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching credentials via pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/97937#M17302</link>
      <description>&lt;P&gt;Do&amp;nbsp;you have a credential not Exact but Pattern like *testsrv* ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/10070"&gt;@THORSTEN_KRAUSE&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ilike to use a pattern for some credentials.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pattern would be:&lt;/P&gt;&lt;P&gt;??-testsrv?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But once I fetch them from within a command:&lt;/P&gt;&lt;P&gt;$mysrv = "as-testsrv2"&lt;/P&gt;&lt;P&gt;$mycreds = Get-WfaCredentials -Host $mysrv -ErrorAction stop&lt;/P&gt;&lt;P&gt;Invoke-NaSsh -Name $mysrv&amp;nbsp; -Command $(ls -la) -Credential $mycreds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&amp;gt; I get a permission denied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&amp;gt; If I put&lt;/P&gt;&lt;P&gt;as-testsrv2&lt;/P&gt;&lt;P&gt;directly into the credentials list it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody help here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 14:46:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/97937#M17302</guid>
      <dc:creator>trentino123</dc:creator>
      <dc:date>2014-12-02T14:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching credentials via pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/97950#M17303</link>
      <description>&lt;P&gt;Using * will work here but star will match other patters as well which you may not want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save the pattern as :&amp;nbsp;[a-z]{2}-testsrv[0-9]{1}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can have a Test Command to check if your Credentials are actually working or not. Below WFA PoSH code can be of great help to see if your pattern can actually get you the desired credemtials.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;### Begin ###&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;param&lt;BR /&gt;(&lt;BR /&gt;[parameter(Mandatory=$true, HelpMessage="Host Name")]&lt;BR /&gt;[string]$Host&lt;/P&gt;&lt;P&gt;)&lt;BR /&gt;$cd=Get-WfaCredentials $Host&lt;BR /&gt;if(!$cd)&lt;BR /&gt;{&lt;BR /&gt;get-WfaLogger -info -Message "Not found"&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;$pass=ConvertFromSecureToPlain -SecurePassword $cd.Password&lt;/P&gt;&lt;P&gt;Get-WfaLogger -info -Message $cd.UserName&lt;BR /&gt;Get-WfaLogger -info -Message $pass&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;##End ##&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2014 06:33:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/97950#M17303</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-12-03T06:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching credentials via pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/97999#M17311</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems the pattern function doesn't work at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just tried it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have a server called "test" --&amp;gt; using "Exact" --&amp;gt; fetching with your script works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;changing just from "Exact" to "Pattern" --&amp;gt; error 500&lt;/P&gt;&lt;P&gt;also trying "Pattern" with tes* doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that work for you?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2014 09:43:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/97999#M17311</guid>
      <dc:creator>THORSTEN_KRAUSE</dc:creator>
      <dc:date>2014-12-03T09:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching credentials via pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/98002#M17313</link>
      <description>&lt;P&gt;They all work well Thorsten., can you try again in a freshly opened browser.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select: Type: Other&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Match: pattern&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Server: tes*&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Give username and Password&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now in the command testing code try get credentials for "test". Does it not work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2014 11:34:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/98002#M17313</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-12-03T11:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching credentials via pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/98003#M17314</link>
      <description>&lt;P&gt;unfortunately still not working for me, completely closed all instances of Firefox 34.0 and started new one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;12:40:11.707 INFO&amp;nbsp; [test credential fetching] ### Command 'test credential fetching' ###&lt;BR /&gt;12:40:54.312 ERROR&amp;nbsp; [test credential fetching] Could not get credentials for test. Cause: The remote server returned an error: (500) Internal Server Error.. The remote server returned an error: (500) Internal Server Error.&lt;BR /&gt;12:40:56.091 ERROR&amp;nbsp; [test credential fetching] Command failed for Workflow 'test_ cred fetch' with error : Could not get credentials for test. Cause: The remote server returned an error: (500) Internal Server Error.. The remote server returned an error: (500) Internal Server Error.&lt;BR /&gt;12:40:56.138 INFO&amp;nbsp; [test credential fetching] ***** Workflow Execution Failed *****&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2014 11:50:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/98003#M17314</guid>
      <dc:creator>THORSTEN_KRAUSE</dc:creator>
      <dc:date>2014-12-03T11:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching credentials via pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/98009#M17318</link>
      <description>&lt;P&gt;woaah!!.. Thats very strange. Can you provide the following details?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What is your WFA version, ports its running on?&lt;/LI&gt;&lt;LI&gt;Can you try to get the Credentials using REST api ApiExecution Resource?&lt;/LI&gt;&lt;LI&gt;Can you try to restart your WFA server service.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2014 15:50:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/98009#M17318</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-12-03T15:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching credentials via pattern</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/98064#M17328</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my version is 3.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;found the problem, there was another pattern which was conflicting&amp;nbsp; with that pattern.&lt;/P&gt;&lt;P&gt;For me that solves the problem,&lt;/P&gt;&lt;P&gt;but I think a better error message would be feasible&lt;/P&gt;&lt;P&gt;or a check for&amp;nbsp;potential conflicts&amp;nbsp;when a credential entry is added.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greets Thorsten&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2014 14:06:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Fetching-credentials-via-pattern/m-p/98064#M17328</guid>
      <dc:creator>THORSTEN_KRAUSE</dc:creator>
      <dc:date>2014-12-04T14:06:28Z</dc:date>
    </item>
  </channel>
</rss>

