Reference Guide

167 Lifecycle Controller Web Services Interface Guide for Linux
OUTPUT:
This method requires a PERC controller with Local Key encryption or DKM support to function correctly.
<n1:EnableControllerEncryption_OUTPUT>
<n1:RebootRequired>YES</n1:RebootRequired>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:EnableControllerEncryption_OUTPUT>
16.20.4 Rekeying the Controller-ReKey()
The ReKey() method is used to reset the key on the controller that supports encryption. This method
switches the controller mode between Local Key encryption or Dell Key Manager (DKM) encryption.
Invoke the ReKey() method with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView class. See section 16.1.
OldKey: Old controller key
NewKey: New controller key. The key can be maximum 32 characters long, and must have one
character from each of the following:
Upper Case
Lower Case
Number
Special Character
The special characters in the following set must be passed as mentioned below.
& &amp;
< &lt;
> &gt;
&quot;
&apos;
Keyid: Key Identifier- Describes Key. The Keyid can be maximum 32 characters long and shoutd not
have spaces in it.
Mode: Mode of the Controller
1 Local Key Encryption
2 Dell Key Manager
EXAMPLE:
wsman invoke -a ReKey
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_RAIDService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService
,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J ReKey.xml -j utf-8 -y basic
The information in the input file ReKey.xml is shown below:
<p:ReKey_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_RAIDS
ervice”>
<p:Target>RAID.Integrated.1-1</p:Target>
<p:OldKey>Abcd@123</p:OldKey>
<p:NewKey>Efgh@123</p:NewKey>
<p:Keyid>NewLKMid</p:Keyid>