Home >

LunaSH Command Reference Guide > LunaSH Commands > client > client assignpartition

client assignpartition

Assign access privileges for a registered client to the specified partitions. To assign a partition to a client, the client must be registered using the client register command and the partition must first be created using the partition create command.

Partitions can be 'unassigned' via revocation (client revokepartition), deletion of a Client association (client delete), deletion of the partition from the HSM (partition delete), or reinitialization of the HSM (hsm init).

User Privileges

Users with the following privileges can perform this command:

Admin

Operator

Syntax

client assignpartition -client <clientname> -partition <name>

Option Shortcut Description
-client <clientname> -c Specifies the name of the client to which a partition will be assigned. Use the client list command to display a list of registered clients.
-partition <name> -p

Specifies the name of the partition to which the client will gain access. Use the partition list command to obtain the partition name.

If you are attempting to make a deployed token available to a client, use token pki listdeployed to see labels of deployed PKI tokens.

Example

lunash:>client assignpartition -client 192.20.11.91 -partition par001
 
 
'client assignPartition' successful.
 
 
Command Result : 0 (Success)