ADD CREDENTIALSTORE
Use the ADD CREDENTIALSTORE
command to create a
credential store. The credential store manages user IDs and their encrypted
passwords (together known as credentials
) that are used by
Oracle GoldenGate processes to interact with the database.
The credential store eliminates the need to specify user names and clear-text passwords in the Oracle GoldenGate parameter files. An optional alias can be used in the parameter file instead of the user ID to map to a userid-password pair in the credential store.
The credential store is implemented as an auto-login wallet within the Oracle Credential Store Framework (CSF). The use of an LDAP directory is not supported for the Oracle GoldenGate credential store. The autologin wallet supports automated restarts of Oracle GoldenGate processes without requiring human intervention to supply the necessary passwords.
ADD CREDENTIALSTORE
creates an empty credentials store
in the location that is specified with the CREDENTIALSTORELOCATION
parameter in the GLOBALS
file, if used, or otherwise in the default
location of dircrd
in the Oracle GoldenGate installation directory.
A credential store can be shared by multiple instances (installations) of Oracle
GoldenGate on the same or different systems. Store a shared credential store in a
shared file system, and specify this location in each Oracle GoldenGate instance by
using the CREDENTIALSTORELOCATION
parameter in each
GLOBALS
parameter file.
Only one credential store can be used at a time by any given instance of
Oracle GoldenGate. For example, you can have a credential store named
/home/ogg/credentials
and a credential store named
/test/ogg/credentials
, but only one can be used at runtime by a
given instance of Oracle GoldenGate. You can stop the processes to switch to a
different credential store, but make certain to update the
CREDENTIALSTORELOCATION
parameter in each
GLOBALS
parameter file, and change the
USERIDALIAS
parameters to specify different aliases if
needed.
Syntax
ADD CREDENTIALSTORE