Delete a key group
To delete a key group, use the NetBackup Key Management Service (KMS) utility command (the nbkmsutil command) with the included arguments.
Note:
Only empty key groups can be deleted.
# nbkmsutil -help -deletekg nbkmsutil -deletekg -kgname <key_group_name> -force
-kgname | Specifies the name of the key group to be deleted. Only empty key groups can be deleted. |
-force | All the keys from the key group are deleted. |
Only empty key groups can be deleted with -deletekg option. You can however, also force delete a key group even if it is not empty. Run the following command to force delete a key group:
# nbkmsutil -deletekg -kgname <key_group_name> -force