<?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: Authentication API token in multi-tenancy in HPE Morpheus Enterprise Software</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/authentication-api-token-in-multi-tenancy/m-p/7250111#M3285</link>
    <description>&lt;P&gt;Thanks for your advises.&lt;/P&gt;
&lt;P&gt;I assume that this variable will generate token depends on tenant Id, username right? So, automation task can execute on tenant’s instances.&lt;BR /&gt;
For Cypher, I firstly need to generate token from respective tenants and then store in cypher which will be static value. But, I am looking dynamic values. So, automation workflow can execute by all sub-tenants on their instances.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2024 15:19:03 GMT</pubDate>
    <dc:creator>AungKT</dc:creator>
    <dc:date>2024-06-05T15:19:03Z</dc:date>
    <item>
      <title>Authentication API token in multi-tenancy</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/authentication-api-token-in-multi-tenancy/m-p/7250110#M3284</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am looking some advises for my below use case:&lt;/P&gt;
&lt;P&gt;We have a catalog with user inputs like Yes/No. Based on those inputs, automation workflow call back to Morpheus APIs and trigger automation tasks/workflows into provisioned instances.&lt;/P&gt;
&lt;P&gt;We would like to use this catalog for all sub-tenants. In that case, we need to use respective sub-tenant’s credential to get token and discover VM instances which are belong to the sub-tenant. After that, perform some automation tasks.&lt;/P&gt;
&lt;P&gt;How we can use dynamic type or using variables to get Authentication token in multi-tenant unless we use common username and password for each tenant.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;
Aung&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 17:27:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/authentication-api-token-in-multi-tenancy/m-p/7250110#M3284</guid>
      <dc:creator>AungKT</dc:creator>
      <dc:date>2024-05-29T17:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication API token in multi-tenancy</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/authentication-api-token-in-multi-tenancy/m-p/7250111#M3285</link>
      <description>&lt;P&gt;Thanks for your advises.&lt;/P&gt;
&lt;P&gt;I assume that this variable will generate token depends on tenant Id, username right? So, automation task can execute on tenant’s instances.&lt;BR /&gt;
For Cypher, I firstly need to generate token from respective tenants and then store in cypher which will be static value. But, I am looking dynamic values. So, automation workflow can execute by all sub-tenants on their instances.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 15:19:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/authentication-api-token-in-multi-tenancy/m-p/7250111#M3285</guid>
      <dc:creator>AungKT</dc:creator>
      <dc:date>2024-06-05T15:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication API token in multi-tenancy</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/authentication-api-token-in-multi-tenancy/m-p/7250112#M3286</link>
      <description>&lt;P&gt;One option if the users have the rights to perform the automation tasks would be to use the variable &amp;lt;%=morpheus.apiAccessToken%&amp;gt;  this will generate a short lived morph-automation token for that user that can then be used in your scripts. Another option could be to use Cyphers and call the Cypher from your script.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 12:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/authentication-api-token-in-multi-tenancy/m-p/7250112#M3286</guid>
      <dc:creator>rbmorph</dc:creator>
      <dc:date>2024-05-30T12:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication API token in multi-tenancy</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/authentication-api-token-in-multi-tenancy/m-p/7250113#M3287</link>
      <description>&lt;P&gt;Using the variable &amp;lt;%=morpheus.apiAccessToken%&amp;gt; will generate the token for the user that is running the task. So if this is being executed by user y in tenant y then the token will be for user y in tenant y and run as that user.&lt;/P&gt;
&lt;P&gt;For cyphers, yes you would still need to have a user and have a process to gen and save the creds to cypher, but then you could call it from cypher using dynamic vaules like  &amp;lt;%=cypher.read(‘secret/’ + ‘AWS’ + customOptions.GroupId + ‘accountname’)%&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 15:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/authentication-api-token-in-multi-tenancy/m-p/7250113#M3287</guid>
      <dc:creator>rbmorph</dc:creator>
      <dc:date>2024-06-17T15:08:22Z</dc:date>
    </item>
  </channel>
</rss>

