keyring create
Create up to 100 keyrings at a time on the specified cluster. In this release, you can create up to 3000 keyrings on the cluster in total.
NOTE Thales requires minimum Luna Appliance Software 7.8.5 with the lnh_cluster-1.0.4 package, Luna HSM Firmware 7.8.4, and Luna HSM Client 10.7.2 to use clusters in production environments.
REST API: POST /api/keyrings
User Privileges
Users with the following privileges can perform this command:
>Admin
Syntax
keyring create -label <label> -password <password> -partition <label> -total <number> -index <number> [-copassword <password>]
Argument(s) | Shortcut | Description |
---|---|---|
-copassword | -c | Specifies the Crypto Officer password for the partition used to create the keyring. If this option is omitted on a password-authenticated HSM, LunaSH prompts for the password. If this option is included on a multifactor quorum-authenticated HSM and the partition is not activated, it is ignored. |
-index | -i |
Starting index number to be appended to the label when creating multiple keyrings at a time. Valid values: 1-10000 |
-label | -l | Set a label for the new keyring. |
-partition | -par | Specifies the label of the application partition that will create the new keyring. Use lunash:> partition show to display the partitions available on the HSM. |
-password | -pas | Set a password for the Partition Security Officer (PO) role on the new keyring(s). |
-total | -t |
Specifies the number of keyrings to be created. Valid values: 1-100 |
Example
lunash:>keyring create -label keyring01 -password iamtheCO -partition clusterpar -copassword password KeyRing was created Command Result : 0 (Success)