keytool:generateSecretKey
Full name:
org.codehaus.mojo:keytool-maven-plugin:2.0.2:generateSecretKey
Description:
To generate a secret key into a keystore. Uses Java KeyStore API directly. See keystore documentation.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Since version:
1.2.
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<alias> |
String |
- |
Alias. |
<keyalg> |
String |
1.2 |
Key algorithm name. See options. |
<keypass> |
String |
1.2 |
Key password. See options. |
<keysize> |
String |
1.2 |
Key bit size. See options. |
<keystore> |
File |
- |
Keystore location. |
<skip> |
boolean |
1.1 |
Set to true to disable the plugin.Default: false |
<storepass> |
String |
- |
Keystore password. |
<storetype> |
String |
- |
Keystore type. |
<verbose> |
boolean |
- |
Enable verbose mode (in mojo and in keytool command). See keytool options. Default: false |
Parameter Details
<alias>
Alias.
- Type:
java.lang.String - Required:
No
<keyalg>
Key algorithm name. See options.
- Type:
java.lang.String - Since:
1.2 - Required:
No
<keypass>
Key password. See options.
- Type:
java.lang.String - Since:
1.2 - Required:
No
<keysize>
Key bit size. See options.
- Type:
java.lang.String - Since:
1.2 - Required:
No
<keystore>
Keystore location.
- Type:
java.io.File - Required:
No
<skip>
Set to
true to disable the plugin.- Type:
boolean - Since:
1.1 - Required:
No - Default:
false
<storepass>
Keystore password.
- Type:
java.lang.String - Required:
No
<storetype>
Keystore type.
- Type:
java.lang.String - Required:
No
<verbose>
Enable verbose mode (in mojo and in keytool command). See keytool options.
- Type:
boolean - Required:
No - Default:
false

