Skip to main content

POST – Reset secure boot keys

Use the POST method to reset secure boot keys.

Request URL

POST https://<BMC_IPADDR>/redfish/v1/Systems/1/SecureBoot/Actions/SecureBoot.ResetKeys

Request body

FieldTypeDescription

ResetKeysType

String

This action is used to reset the Secure Boot keys(takes effect on next boot):

Value:
  • “DeleteAllKeys”

  • “DeletePK”

XCC3 will do the RPP assert internally when receiving this cmd.

If assert RPP successfully, return code 200 + @Message.ExtendedInfo “RebootRequired”:

"RebootRequired": {

"Description": "Indicates that one or more properties were changed, and/or actions completed successfully. However, these changes will not take effect until the next system reboot.",

"Message": "Changes completed successfully, but these changes will not take effect until next reboot.",

"Severity": "Warning",

"NumberOfArgs": 0,

"ParamTypes": [],

"Resolution": "Reboot the computer system for the changes to take effect."

},

else return code 200 + @Message.ExtendedInfo “PhysicalPresenceError”:

"PhysicalPresenceError": {

"Description": "The operation failed because Physical Presence or Remote Physical Presence was not asserted.",

"Message": " The operation failed because of Remote Physical Presence security requirements.",

"Severity": "Warning",

"NumberOfArgs": 0,

"ParamTypes": [],

"Resolution": "Attempt asserting Physical Presence or Remote Physical Presence, and retry the operation."

},

Status code

HTTP Status CodeError Message ID
200RebootRequired, PhysicalPresenceError
403Forbidden
500InternalError