tklmKeyStoreAdd
Use the tklmKeyStoreAdd command to add a file-based keystore.
Note: This IBM Security Key Lifecycle Manager command-line
interface command is deprecated.
Purpose
Use this command to add a keystore. If the keystore does not exist, and the keystore type is file-based, IBM Security Key Lifecycle Manager creates the keystore. If one keystore exists, you cannot create an extra keystore. Do not add a keystore file with a name that is identical to the file name of a deleted keystore.Permissions
Your role must have a permission to the configure action.
Syntax
tklmKeyStoreAdd -storeName keystorename -storeFileName filelocationandname -storeType keystoretype -storePassword keystorepasswordParameters
- -storeName
- Required.
Specify the unique name of the keystore as a descriptive alias. For
example, type
newKeystore. IBM Security Key Lifecycle Manager uses this name in the IBM Security Key Lifecycle Manager database to identify the keystore. - -storeFileName
- Required. How IBM Security Key Lifecycle Manager uses this
value depends on the keystore type:
- File-based
Specifies the directory path and file name of the keystore file.
- File-based
- -storeType
- Specify the type of the keystore, such as JCEKS (default).
- -storePassword
- Specify the password of the keystore file. For example,
password. The password in single-byte characters must a minimum of 6 and not greater than 175 characters in length.
Example
This Jython-formatted command adds
a keystore named newKeyStore.jceks, which IBM Security Key Lifecycle Manager identifies
in the database by the name newKeyStore.
print AdminTask.tklmKeyStoreAdd ('[-storeName newKeyStore
-storeFileName SKLM_HOME/keystore/
newKeyStore
-storeType jceks -storePassword password]')