Home >

LunaCM Command Reference Guide > LunaCM Commands > appid > appid close

appid close

Close an application access ID on the HSM to prevent your applications from using it to access the HSM. Application IDs are assigned as a way of sharing login state among multiple processes. AppIDs require two 4-byte/32-bit unsigned integers, one designated "major" and the other designated "minor".

Note:  If you are concerned that an unauthorized process might be able to take over a login state, then you can use large, difficult-to-guess numbers for the major and minor appids. If this is not a concern, or for use in a development lab, you can use any arbitrary, conveniently small integers.

Syntax

appid close -major <integer_value> -minor <integer_value>

Parameter Shortcut Description
-major -ma The major appid.
-minor -mi The minor appid.

Example

lunacm:> appid close -major 1 -minor 40
 
Command Result : No Error
lunacm:>