generate-encryption-key

Generates an encryption key for Data Grid secure communication.

Synopsis

asadmin [asadmin-options] generate-encryption-key
[--help]
[--dontCheckIfRunning={true|false}]
[--domaindir domaindir]
[domain-name]

Description

This command can be used to generate an encryption key used by Payara Server to perform encryption and decryption of the data stored within the Data Grid.

For more information on the Data Grid mechanism, see Data Grid Encryption.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

--dontCheckIfRunning

Determines whether to check if the targeted domain is running or not.

The default value is false.

--domaindir

The path to the directory containing the target domain. The default domain directory is as-install/domains.

Operands

domain-name

The name of the domain to target. The default is domain1.

Examples

Example 1 Generates an encryption key.

This example generates an encryption key used by Payara Server to perform encryption and decryption of the data stored within the data grid.

asadmin> generate-encryption-key
Enter the current master password>
Command generate-encryption-key executed successfully.