Servers - General

HPE Servers encryption configuration using RestAPI

 
Lan1non
Occasional Visitor

HPE Servers encryption configuration using RestAPI

As requested in  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

YourTexasBenefits Login

Tried below payload as per my assumption but it didn't work either. Please help.

import requests

url = "https://<IP>/redfish/v1/Systems/1/SmartStorageConfig/Settings"

payload="{
"EncryptionConfiguration": [
    {
        "CryptoOfficerPassword": "xxxxxxxxxx",
        "CryptoOfficerRecoveryQuestion": "xxxxxxxxxxxxx",
        "CryptoOfficerRecoveryAnswer": "xxxxxxxxxxxxxx",
        "MasterKey": "xxxxxxxxx"
    }
],
"EncryptionEULA": "Accept",
"DataGuard": "Disabled"
}"
headers = {
  'Authorization': 'Basic xxxxxxxxxxxxxxxx',
  'Content-Type': 'application/json'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text) 

 

1 REPLY 1
Suman_1978
HPE Pro

Re: HPE Servers encryption configuration using RestAPI

Hi,

Were you able to get it going?

I found this link, will this help?

https://docs.datafabric.hpe.com/62/SecurityGuide/Enable-DARE.html

Thank You!
https://support.hpe.com/hpesc/public/home


I work for HPE

Accept or Kudo