<?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: HPE Servers encryption configuration using RestAPI in Servers - General</title>
    <link>https://community.hpe.com/t5/servers-general/hpe-servers-encryption-configuration-using-restapi/m-p/7132468#M14805</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Were you able to get it going?&lt;/P&gt;&lt;P&gt;I found this link, will this help?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.datafabric.hpe.com/62/SecurityGuide/Enable-DARE.html" target="_blank"&gt;https://docs.datafabric.hpe.com/62/SecurityGuide/Enable-DARE.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;BR /&gt;&lt;A href="https://support.hpe.com/hpesc/public/home" target="_blank"&gt;https://support.hpe.com/hpesc/public/home&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 May 2021 06:12:55 GMT</pubDate>
    <dc:creator>Suman_1978</dc:creator>
    <dc:date>2021-05-04T06:12:55Z</dc:date>
    <item>
      <title>HPE Servers encryption configuration using RestAPI</title>
      <link>https://community.hpe.com/t5/servers-general/hpe-servers-encryption-configuration-using-restapi/m-p/7130004#M14597</link>
      <description>&lt;P&gt;As requested in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;does anyone have the method to update encryption setting on HPE Servers. Gen9/Gen10 etc. I have been searching all of HPE documentations and ended up with nothing&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yourtexasbenefits.biz/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&lt;FONT color="#FFFFFF"&gt;YourTexasBenefits Login&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Tried below payload as per my assumption but it didn't work either. Please help.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="hljs-keyword"&gt;import&lt;/SPAN&gt; requests

url = &lt;SPAN class="hljs-string"&gt;"https://&amp;lt;IP&amp;gt;/redfish/v1/Systems/1/SmartStorageConfig/Settings"&lt;/SPAN&gt;

payload=&lt;SPAN class="hljs-string"&gt;"{
"&lt;/SPAN&gt;EncryptionConfiguration&lt;SPAN class="hljs-string"&gt;": [
    {
        "&lt;/SPAN&gt;CryptoOfficerPassword&lt;SPAN class="hljs-string"&gt;": "&lt;/SPAN&gt;xxxxxxxxxx&lt;SPAN class="hljs-string"&gt;",
        "&lt;/SPAN&gt;CryptoOfficerRecoveryQuestion&lt;SPAN class="hljs-string"&gt;": "&lt;/SPAN&gt;xxxxxxxxxxxxx&lt;SPAN class="hljs-string"&gt;",
        "&lt;/SPAN&gt;CryptoOfficerRecoveryAnswe&lt;SPAN class="hljs-string"&gt;r": "&lt;/SPAN&gt;xxxxxxxxxxxxxx&lt;SPAN class="hljs-string"&gt;",
        "&lt;/SPAN&gt;MasterKey&lt;SPAN class="hljs-string"&gt;": "&lt;/SPAN&gt;xxxxxxxxx&lt;SPAN class="hljs-string"&gt;"
    }
],
"&lt;/SPAN&gt;EncryptionEULA&lt;SPAN class="hljs-string"&gt;": "&lt;/SPAN&gt;Accept&lt;SPAN class="hljs-string"&gt;",
"&lt;/SPAN&gt;DataGuard&lt;SPAN class="hljs-string"&gt;": "&lt;/SPAN&gt;Disabled&lt;SPAN class="hljs-string"&gt;"
}"&lt;/SPAN&gt;
headers = {
  &lt;SPAN class="hljs-string"&gt;'Authorization'&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'Basic xxxxxxxxxxxxxxxx'&lt;/SPAN&gt;,
  &lt;SPAN class="hljs-string"&gt;'Content-Type'&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'application/json'&lt;/SPAN&gt;
}

response = requests.request(&lt;SPAN class="hljs-string"&gt;"GET"&lt;/SPAN&gt;, url, headers=headers, data=payload)

&lt;SPAN class="hljs-built_in"&gt;print&lt;/SPAN&gt;(response.text)&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 12:28:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/servers-general/hpe-servers-encryption-configuration-using-restapi/m-p/7130004#M14597</guid>
      <dc:creator>Lan1non</dc:creator>
      <dc:date>2021-04-16T12:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: HPE Servers encryption configuration using RestAPI</title>
      <link>https://community.hpe.com/t5/servers-general/hpe-servers-encryption-configuration-using-restapi/m-p/7132468#M14805</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Were you able to get it going?&lt;/P&gt;&lt;P&gt;I found this link, will this help?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.datafabric.hpe.com/62/SecurityGuide/Enable-DARE.html" target="_blank"&gt;https://docs.datafabric.hpe.com/62/SecurityGuide/Enable-DARE.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;BR /&gt;&lt;A href="https://support.hpe.com/hpesc/public/home" target="_blank"&gt;https://support.hpe.com/hpesc/public/home&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 06:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/servers-general/hpe-servers-encryption-configuration-using-restapi/m-p/7132468#M14805</guid>
      <dc:creator>Suman_1978</dc:creator>
      <dc:date>2021-05-04T06:12:55Z</dc:date>
    </item>
  </channel>
</rss>

