yupiik-tools:crypt-value
Enables to crypt a value and log it.
Coordinates
<plugin>
<groupId>io.yupiik.maven</groupId>
<artifactId>yupiik-tools-maven-plugin</artifactId>
<version>1.2.4-SNAPSHOT</version>
</plugin>
To call this goal from the command line execute: mvn yupiik-tools:crypt-value
.
To bind this goal in the build you can use:
<plugin>
<groupId>io.yupiik.maven</groupId>
<artifactId>yupiik-tools-maven-plugin</artifactId>
<version>1.2.4-SNAPSHOT</version>
<executions>
<execution>
<id>my-execution</id>
<goals>
<goal>crypt-value</goal>
</goals>
<configuration>
<!-- execution specific configuration come there -->
</configuration>
</execution>
</executions>
</plugin>
You can execute this goal particularly with mvn yupiik-tools:crypt-value@my-execution
command.
Configuration
TIP
|
|
-
masterPassword* (
String
) -
Master password for the enryption (AES/CBC/PKCS5Padding). Property:
${yupiik.crypt.masterPassword}
.
-
value* (
String
) -
Value to crypt. Property:
${yupiik.crypt.value}
.
-
useAES256GCM (
boolean
) -
Should AES256 GCM be used else AES/CBC/PKCS5Padding is used. Default value:
false
. Property:${yupiik.crypt.useAES256GCM}
.
-
useStdout (
boolean
) -
Should the encrypted value be printed using stdout or maven logger. Default value:
false
. Property:${yupiik.crypt.useStdout}
.