yupiik-tools:decrypt-properties
Enables to decrypt an encrypted properties file.
Coordinates
<plugin>
<groupId>io.yupiik.maven</groupId>
<artifactId>yupiik-tools-maven-plugin</artifactId>
<version>1.2.13-SNAPSHOT</version>
</plugin>
To call this goal from the command line execute: mvn yupiik-tools:decrypt-properties.
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.13-SNAPSHOT</version>
<executions>
<execution>
<id>my-execution</id>
<goals>
<goal>decrypt-properties</goal>
</goals>
<configuration>
<!-- execution specific configuration come there -->
</configuration>
</execution>
</executions>
</plugin>
You can execute this goal particularly with mvn yupiik-tools:decrypt-properties@my-execution command.
Configuration
|
TIP
|
|
-
input* (
java.io.File) -
Input properties file path. Property:
${yupiik.crypt-properties.input}.
-
masterPassword* (
String) -
Master password for the enryption (AES/CBC/PKCS5Padding). Property:
${yupiik.crypt.masterPassword}.
-
output* (
java.io.File) -
Target location of the encrypted properties file. Property:
${yupiik.crypt-properties.output}.
-
excludedKeys (
List) -
List of keys to not encrypt the value for. Property:
${yupiik.crypt-properties.excludedKeys}.
-
includedKeys (
List) -
List of keys to encrypt the value for. Property:
${yupiik.crypt-properties.includedKeys}.
-
preserveComments (
boolean) -
Should properties structure be preserved (comments, order) or not. This can break properties structure in some rare cases, if so disable this. Default value:
true. Property:${yupiik.crypt-properties.preserveComments}.
-
useAES256GCM (
boolean) -
Should AES256 GCM be used else AES/CBC/PKCS5Padding is used. Default value:
false. Property:${yupiik.crypt.useAES256GCM}.