<?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: How do I create a role for (HTTPS) access to a specific SVM? in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-create-a-role-for-HTTPS-access-to-a-specific-SVM/m-p/454066#M43791</link>
    <description>&lt;P&gt;Sorry, I didn’t realize you were actually trying to add to DEFAULT. the thing is, DEFAULT is a catch all. You can’t add anything extra. You specify Default with access of none to disallow everything then you specifically add the exact commands you want to use and if needed specify extra info using the query argument&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2024 10:35:24 GMT</pubDate>
    <dc:creator>TMACMD</dc:creator>
    <dc:date>2024-07-22T10:35:24Z</dc:date>
    <item>
      <title>How do I create a role for (HTTPS) access to a specific SVM?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-create-a-role-for-HTTPS-access-to-a-specific-SVM/m-p/453998#M43774</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We would like to set up a separate role for our trainees on our cluster. This role should&lt;/P&gt;&lt;P&gt;- Enable read-only access to the entire cluster&lt;/P&gt;&lt;P&gt;- Complete access to a dedicated Test_SVM that is available for training purposes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is often said, that this is not possible for a specific SVM, but there is even a KB article that can serve as a basis for this ("How to set up and configure RBAC in ONTAP to limit administrator access to specific volumes or SVMs"&amp;nbsp;&lt;FONT size="1 2 3 4 5 6 7"&gt;From &amp;lt;&lt;A href="https://kb.netapp.com/on-prem/ontap/Ontap_OS/OS-KBs/How_to_set_up_and_configure_RBAC_in_ONTAP_to_limit_administrator_access_to_specific_volumes_or_SVMs#" target="_blank" rel="noopener"&gt;https://kb.netapp.com/on-prem/ontap/Ontap_OS/OS-KBs/How_to_set_up_and_configure_RBAC_in_ONTAP_to_limit_administrator_access_to_specific_volumes_or_SVMs#&lt;/A&gt;&amp;gt;&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem with this, however, is that when creating the role for ’-cmddirname DEFAULT -access readonly’ for the special Test_SVM “readonly” is not possible, but “none” is always suggested:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FASxxxxx::&amp;gt; security login role create role -role Restricted_Azubi_Role -cmddirname DEFAULT -access readonly -query ‘’ -vserver SVM_TESTxxxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: command failed: The only valid value for access is ‘none’ for a Vserver role when the specified command directory is ‘DEFAULT’&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FAS27501::&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong? Any ideas?&lt;/P&gt;&lt;P&gt;Many thanks and best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 07:02:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-create-a-role-for-HTTPS-access-to-a-specific-SVM/m-p/453998#M43774</guid>
      <dc:creator>Michael_K</dc:creator>
      <dc:date>2024-07-18T07:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a role for (HTTPS) access to a specific SVM?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-create-a-role-for-HTTPS-access-to-a-specific-SVM/m-p/454001#M43776</link>
      <description>&lt;P&gt;Right. You always start off with the default read only and then bills from there. There is an option called query where you can specify things like “vserver Test_svm” to limit the full access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Play and test with that.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;i worked with a customer to build a role that specifically gave them access to work on snapmirror relationships between two specific svms and it worked like a charm&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 11:07:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-create-a-role-for-HTTPS-access-to-a-specific-SVM/m-p/454001#M43776</guid>
      <dc:creator>TMACMD</dc:creator>
      <dc:date>2024-07-18T11:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a role for (HTTPS) access to a specific SVM?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-create-a-role-for-HTTPS-access-to-a-specific-SVM/m-p/454002#M43777</link>
      <description>&lt;P&gt;Additionally here is a bit I sent a customer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look: the “query” part is the import part that limits the scope of the command. If you do (from the CLI) “man snapmirror release”, look at the supported arguments. There is no “-vserver” argument. There are “-source-vserver” and “-destination-vserver”. So the command would look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;security login role create -role Rolex -cmddirname "snapmirror release" -access all -query "-source-vserver srcsvm"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look at the MAN pages. Review them. Check out the arguments. The -query, if you use it, must contain one or more of those supported arguments.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 11:09:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-create-a-role-for-HTTPS-access-to-a-specific-SVM/m-p/454002#M43777</guid>
      <dc:creator>TMACMD</dc:creator>
      <dc:date>2024-07-18T11:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a role for (HTTPS) access to a specific SVM?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-create-a-role-for-HTTPS-access-to-a-specific-SVM/m-p/454059#M43788</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;The problem already exists with the "DEFAULT read only"!&lt;/P&gt;&lt;P&gt;If I execute the command as in the KB article mentioned above, the error occurs that ‘Read only’ cannot be used for vserver with DEFAULT!&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;FAS27501::&amp;gt; security login role create -role Restricted_Azubi_Role -cmddirname DEFAULT -access readonly -query "" -vserver SVM_TEST&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier" size="2"&gt;Error: command failed: The only valid value for access is ‘none’ for a Vserver role when the specified command directory is ‘DEFAULT’&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier" size="2"&gt;FAS27501::&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the KB example ‘&lt;FONT face="courier new,courier" size="2"&gt;-vserver SVM_TEST&lt;/FONT&gt;’ is also not set in quotation marks (""), these are all after the term 'query' (-query "").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise I get the following error:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier" size="2"&gt;FAS27501::&amp;gt; security login role create -role Restricted_Azubi_Role -cmddirname DEFAULT -access readonly -query "-vserver SVM_TEST"&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier" size="2"&gt;Error: The DEFAULT entry cannot have a query&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;command failed: failed to set field "query" to "-vserver SVM_TEST"&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier" size="2"&gt;FAS27501::&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I can create other roles, but not DEFAULT readonly for the vserver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 06:19:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-create-a-role-for-HTTPS-access-to-a-specific-SVM/m-p/454059#M43788</guid>
      <dc:creator>Michael_K</dc:creator>
      <dc:date>2024-07-22T06:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a role for (HTTPS) access to a specific SVM?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-create-a-role-for-HTTPS-access-to-a-specific-SVM/m-p/454066#M43791</link>
      <description>&lt;P&gt;Sorry, I didn’t realize you were actually trying to add to DEFAULT. the thing is, DEFAULT is a catch all. You can’t add anything extra. You specify Default with access of none to disallow everything then you specifically add the exact commands you want to use and if needed specify extra info using the query argument&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 10:35:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-create-a-role-for-HTTPS-access-to-a-specific-SVM/m-p/454066#M43791</guid>
      <dc:creator>TMACMD</dc:creator>
      <dc:date>2024-07-22T10:35:24Z</dc:date>
    </item>
  </channel>
</rss>

