Configuring a keystore by using a data page reference
To configure a keystore, you can reference a keystore that is stored in a data page.
Before you begin: You must create a
keystore data instance in Pega Platform with
Keystore location equal to Custom – Source master
key from other KMS using a data page or Reference to data
page before you can configure the keystore.
- Open a keystore from the navigation panel by clicking and selecting a data page keystore from the instance list.
- Create a data page that contains keystore data, if one does not exist. For more information, see Creating a data page for a keystore.
- In the Source data page field, enter the name of the data page that contains keystore data, for example, D_KeystoreJKS.
-
In the Keystore type list, select the keystore file
type.
- Java KeyStore (JKS)
- Public Key Cryptography Standards (PKCS12)
- JSON Web Key (JWK)
-
Select the password source for the keystore.
- Fixed password – After you select Fixed password, in the Keystore password field, enter the password to the keystore file.
- Clipboard property – After you select Clipboard property, in the Clipboard password property field, enter the name of the clipboard property that you want to get the password from, for example, operatorID.pyPassword.
- Function – After you select
Function, in the Function
field, enter the rule utility function to be invoked to get the password.
The function must comply with the following syntax:
@(RuleSetName:RuleUtilityLibraryName).RuleUtilityFunctionName
, for example,@(myApp:PasswordUtil).getPassword()
.
- Click Save.