In this recipe, we will examine how to add the credentials required to access an external system.
From Enterprise Manager, expand the Farm and WebLogic domain and right-click on the domain name. Choose the Security item in the menu and then click on Credentials.
If the oracle.wsm.security map does not exist, then click on Create Map.
Enter Map Name as oracle.wsm.security
, then click on OK.
From the Credential Store Provider section, click on Create Key. In the Create Key dialog:
i. In Select Map choose oracle.wsm.security from the drop-down list.
ii. In the Key field, give the key a name.
iii. Choose Type as Password from the drop-down list.
iv. Provide User Name to be passed as part of the service invocation.
v. Provide Password to be passed to the remote system, and Confirm Password.
v. Provide a Description that will remind you of which credentials are associated with this key.
vi. Click on OK to create the key.
The credential store allows us to securely store the credentials of the remote systems that we will need to invoke. By putting the credentials in a central resource, multiple references can use the same credentials. The consumer of the credentials can be separated from the user of the credentials, reducing the number of individuals that know the credentials required to access a particular system.