Encrypt

Allows encryption of either a single text or an entire .properties file.

You can optionally move sensitive properties like passwords and URLs from the file Panopticon.properties, where they are stored in clear text, into a file named Secret.properties in the same directory. The Secret.properties file stores values encrypted, and the encryption is achieved by using PCLI and the Encrypt command. A property can only be defined in one of these properties’ files at a time. By using the --filter or -f argument, you can match several properties that should have their values encrypted, by regular expression matching, such as for example “.*password” to match any property name ending with the text “password”.

 

Option Description

-t, --text

Text to encrypt.

-p, --properties

Input Panopticon.properties file.

-o, --output

Output property file.

-f, --filter

Property filter regex.

 

Command examples:

  • .properties file

    bin/pcli encrypt -p /etc/panopticon/appdata/Panopticon.properties -o Define.properties -f .*password

  • text string

    bin/pcli encrypt -t passwordName

 

(c) 2013-2024 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support