User Guide
DDOC0108-000-A2
CNS4 CSfC
11 - 2
Command Line Interface
Revision 0.0
11.2.1
cm_create_account
Syntax:
cm_create_account [ -h | --help ] | [ -v | --version ]
cm_create_account [ -u <str> ] [ -p <str> ] [ -m i | e ] [ -k e | s | n ]
cm_create_account [ -u <str> ] [ -p <str> ]
Description:
The cm_create_account command provides the user the ability to create accounts. The first
account created will always be the crypto officer account and every other account created
thereafter will be treated as users. The crypto officer must be logged in to create user accounts.
Normal user accounts only have certain privileges where they are not able to choose the DEK nor
where the DEK is stored. Every user shares the same DEK as the crypto officer.
Options:
-h, --help............................. Help
-v, --version ........................ Show version information
-u <string>.......................... Specify username
-p <string>.......................... Specify password (min. 8 characters; max. 64 characters)
-m <char>........................... ILE Key Generation Mode. i=Internal, e=External
-k <char>............................ ILE Key Storage Location. e=EEPROM, s=SRAM, n=NONE
Example 1.
Create a crypto officer account with username john, password aBcDeFg1, with internal key generation
stored on the SRAM
Example 2.
Create a crypto officer account with username john, password aBcDeFg1, with external key
generation stored on the EEPROM
Example 3. Create a user account with username marty, password gHpErCf7
cns>
cm_create_account -u john -p aBcDeFg1 -m i -k s
[cm_create_account]
user_token=0xab491feccdd158654adab4bb10ddfffe3948571fddeee43f6b7c9a0cc0013693
token_hmac=0xce6256b4220638eefb3bb3c428ddd853353bc9ce3f436062ab59d9fcd9f93642
status=OK
[!cm_create_Account]
cns>
cm_create_account -u john -p aBcDeFg1 -m e -k e
[cm_create_account]
user_token=0xc9ed6c3bbc3de43110d4e5b67da39ea4d1d79d1fb269d25759b38a25db0a8552c72
158ebc19e7e60
token_hmac=0x8ba8729d3a22bc6787b404a13f7cbec190ce5f64fc0e770c8710f60318274259
status=OK
[!cm_create_account]
cns>
cm_create_account -u marty -p gHpErCf7
[cm_create_account]
user_token=0xa77650375de646873a61d4c18954d2c4aaf35cd2af59bd9f0646b5a55223011a
token_hmac=0xbd7147c5119728ffea5aa2d517c3c747242ab8ad2e3259561a59d9dbe8e43248
status=OK
[!cm_create_account]