<?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 vRSLCM API Authentication in VMware Aria Suite Lifecycle Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Aria-Suite-Lifecycle/vRSLCM-API-Authentication/m-p/2822001#M153</link>
    <description>&lt;P&gt;I can't authenticate to the vRSLCM API following the instructions at this page:&lt;/P&gt;&lt;P&gt;&lt;A href="https://code.vmware.com/docs/12743/vrealize-suite-lifecycle-manager-8-2-api-programming-guide" target="_blank"&gt;https://code.vmware.com/docs/12743/vrealize-suite-lifecycle-manager-8-2-api-programming-guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Authentication&lt;/P&gt;&lt;P class="p"&gt;The request examples assume that you are using basic access authentication with a token for a local user, such as user@local. The example token is the Base64 encoded value of "username:password", where the username is admin@local and password is the password for &lt;A href="mailto:admin@local.&amp;quot;" target="_blank"&gt;admin@local."&lt;/A&gt;&lt;/P&gt;&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p"&gt;I base64 my username and password, separated by a :, add it as an Authorization header, and get 401.&lt;/P&gt;&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p"&gt;Anyone have this working?&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jan 2021 16:16:05 GMT</pubDate>
    <dc:creator>filosmith</dc:creator>
    <dc:date>2021-01-11T16:16:05Z</dc:date>
    <item>
      <title>vRSLCM API Authentication</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Suite-Lifecycle/vRSLCM-API-Authentication/m-p/2822001#M153</link>
      <description>&lt;P&gt;I can't authenticate to the vRSLCM API following the instructions at this page:&lt;/P&gt;&lt;P&gt;&lt;A href="https://code.vmware.com/docs/12743/vrealize-suite-lifecycle-manager-8-2-api-programming-guide" target="_blank"&gt;https://code.vmware.com/docs/12743/vrealize-suite-lifecycle-manager-8-2-api-programming-guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Authentication&lt;/P&gt;&lt;P class="p"&gt;The request examples assume that you are using basic access authentication with a token for a local user, such as user@local. The example token is the Base64 encoded value of "username:password", where the username is admin@local and password is the password for &lt;A href="mailto:admin@local.&amp;quot;" target="_blank"&gt;admin@local."&lt;/A&gt;&lt;/P&gt;&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p"&gt;I base64 my username and password, separated by a :, add it as an Authorization header, and get 401.&lt;/P&gt;&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p"&gt;Anyone have this working?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 16:16:05 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Suite-Lifecycle/vRSLCM-API-Authentication/m-p/2822001#M153</guid>
      <dc:creator>filosmith</dc:creator>
      <dc:date>2021-01-11T16:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: vRSLCM API Authentication</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Suite-Lifecycle/vRSLCM-API-Authentication/m-p/2835511#M167</link>
      <description>&lt;P&gt;Here is my example from Powershell that works fine when I use something like&amp;nbsp;&lt;A href="mailto:admin@local" target="_blank"&gt;admin@local&lt;/A&gt;&amp;nbsp;as username:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;$auth               = $username + ':' + $password
$Encoded            = [System.Text.Encoding]::UTF8.GetBytes($auth)
$EncodedPassword    = [System.Convert]::ToBase64String($Encoded)

$headers = @{
 "Accept"="application/json"
 "Authorization"="Basic $($EncodedPassword)"
 "Content-Type"="application/json"
}

$body = ""
$jsonbody = $body | ConvertTo-Json

$method = "POST"
$api = "/lcm/authzn/api/login"

$res = $null
$res = Invoke-WebRequest -Uri ($server+$api) -Method $method -Body $jsonbody -Headers $headers -UseBasicParsing -SessionVariable session
$res.StatusCode
If ($res.StatusCode -ne 200) {"ERROR!"; BREAK}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 09:38:54 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Suite-Lifecycle/vRSLCM-API-Authentication/m-p/2835511#M167</guid>
      <dc:creator>jimmyvandermast</dc:creator>
      <dc:date>2021-03-12T09:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: vRSLCM API Authentication</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Suite-Lifecycle/vRSLCM-API-Authentication/m-p/2840930#M179</link>
      <description>&lt;P&gt;Thanks. I verified with support that it only works with local accounts.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 13:21:20 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Suite-Lifecycle/vRSLCM-API-Authentication/m-p/2840930#M179</guid>
      <dc:creator>filosmith</dc:creator>
      <dc:date>2021-04-09T13:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: vRSLCM API Authentication</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Suite-Lifecycle/vRSLCM-API-Authentication/m-p/2840931#M180</link>
      <description>&lt;P&gt;Agree. Your question was also about &lt;A href="mailto:admin@local" target="_blank"&gt;admin@local&lt;/A&gt;&amp;nbsp;so that should be just fine.&amp;nbsp; &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@DCF4E2F7991292CEECF250394DB2C2BC/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 13:35:11 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Suite-Lifecycle/vRSLCM-API-Authentication/m-p/2840931#M180</guid>
      <dc:creator>jimmyvandermast</dc:creator>
      <dc:date>2021-04-09T13:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: vRSLCM API Authentication</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Suite-Lifecycle/vRSLCM-API-Authentication/m-p/2917270#M246</link>
      <description>&lt;P&gt;HI,&lt;BR /&gt;did you have a script for authentication via vIDM integration&lt;BR /&gt;Every time i get a 401 not authorized message.&lt;/P&gt;&lt;P&gt;I get a oauth token with a service vIDM api user and shared key.&lt;/P&gt;&lt;P&gt;But I'm not able to authenticate with with access token&lt;/P&gt;&lt;P&gt;Any ideas?&lt;BR /&gt;KR&lt;BR /&gt;Mathias&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 13:41:26 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Suite-Lifecycle/vRSLCM-API-Authentication/m-p/2917270#M246</guid>
      <dc:creator>MeyMath</dc:creator>
      <dc:date>2022-07-04T13:41:26Z</dc:date>
    </item>
  </channel>
</rss>

