Learn how to use an ENCKEYS
file.
You must generate and store encryption keys when using the security features:
ENCRYPTTRAIL
(see Encrypting the Data with the ENCKEYS Method)
ENCRYPT PASSWORD
with ENCRYPTKEY
keyname
(see Encrypting a Password in a Command or Parameter File)
RMTHOST
or RMTHOSTOPTIONS
with ENCRYPT
(see Encrypting the Data with the ENCKEYS Method)
You can define your own key or run the Oracle GoldenGate KEYGEN
utility to create a random key.
Topics:
Parent topic: Securing Oracle GoldenGate
Use a tool of your choice. The key value can be up to 256 bits (32 bytes) as either of the following:
a quoted alphanumeric string (for example "Dailykey")
a hex string with the prefix 0x (for example 0x420E61BE7002D63560929CCA17A4E1FB
)
Parent topic: Populating an ENCKEYS File with Encryption Keys
Change directories to the Oracle GoldenGate home directory on the source system, and issue the following shell command. You can create multiple keys, if needed. The key values are returned to your screen. You can copy and paste them into the ENCKEYS
file.
KEYGEN key_length n
Where:
key_length
is the encryption key length, up to 256 bits (32 bytes).
n
represents the number of keys to generate.
Example:
KEYGEN 128 4
Parent topic: Populating an ENCKEYS File with Encryption Keys
Parent topic: Populating an ENCKEYS File with Encryption Keys