Home >

LunaSH Command Reference Guide > LunaSH Commands > stc > stc client register

stc client register

Register a client's STC public key to the specified partition. You must be logged in as the HSM SO and own the partition to use this command.

Note:  Each client identity registered to a partition uses 2332 bytes of storage on the partition. Before registering a client identity to a partition, ensure that there is adequate free space.

Syntax

stc client register -partition <partition_name> -label <client_label> -file <client_public_key>

Parameter Shortcut Description
-partition <partition_name> -p <partition_name> Specifies the name of the partition.
-label <client_name> -l <client_label> A string used to identify the client being registered.
-file <client_public_key> -f <client_public_key> The client public key file as displayed using the command my file list.

Example

lunash:> stc client register -par mapleleafs -l bsalming -f 45021294.pem
 
Successfully registered the client public key of bsalming in partition mapleleafs