hsm changehsmpolicy
Change HSM-level policies. This command changes the specified HSM Policy from the current value to the new, specified value, if the corresponding HSM capability setting permits the change.
NOTE The LunaCM hsm commands appear only when the current slot selected in LunaCM is the initialized HSM's administrative partition.
Syntax
hsm changehsmpolicy -policy <number> -value <value> [-force]
Option | Shortcut | Description |
---|---|---|
-force | -f | Force the change without further prompting. |
-policy <number> | -p | The number identifying the HSM policy that you want to change. Use the hsm show command to find the number of the policy you want to change. |
-value <value> | -v | The new setting to be applied to the indicated HSM policy. Use the hsm show command to find the current setting of the policy you want to change. |
Example
lunacm:>hsm changehsmpolicy -policy 12 -value 0
You are about to change a destructive HSM policy.
All partitions of the HSM will be destroyed.
Are you sure you wish to continue?
Type 'proceed' to continue, or 'quit' to quit now ->proceed
Command Result : No Error