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.

This command is issued by the SafeNet appliance admin user.

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).

Syntax

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

Parameter Shortcut Description
-client -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    -p

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

Or 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 myPC -partition myPartition2
 
'client assignPartition' successful.
 
Command Result : 0 (Success)