Encryption

You can encrypt Essbase user and password information stored in MaxL scripts, using public and private keys.

The following MaxL Shell invocation generates a public-private key pair that you can use to encrypt a MaxL script.

Linux

startMAXL.sh -gk

Windows

startMAXL.bat -gk

The following MaxL Shell invocation encrypts the input MaxL script, obscuring user name and password, and changing the file extension to .mxls.

Linux

startMAXL.sh -E scriptname.mxl PUBLIC-KEY

Windows

startMAXL.bat -E scriptname.mxl PUBLIC-KEY

Nested scripts are also encrypted. To avoid this and encrypt only the base script, use -Em.

The following MaxL Shell invocation decrypts and executes the MaxL script.

Linux

startMAXL.sh -D scriptname.mxls PRIVATE-KEY

Windows

startMAXL.bat -D scriptname.mxls PRIVATE-KEY

The following invocation encrypts input data and returns it in encrypted form. This is useful if there is a need to manually prepare secure scripts.

Linux

startMAXL.sh -ep DATA PUBLIC-KEY

Windows

startMAXL.bat -ep DATA PUBLIC-KEY

The following invocation enables you to encrypt the base script while saving any nested scripts for manual encryption.

Linux

startMAXL.sh –Em scriptname.mxl PUBLIC-KEY

Windows

startMAXL.bat –Em scriptname.mxl PUBLIC-KEY