Description Syntax Example addBootStrapCredential

Infrastructure Security Custom WLST Commands 4-71 wls:mydomainserverConfig deleteCredmap=myApp,key=myKey

4.6.16 modifyBootStrapCredential

Offline command that updates a bootstrap credential store.

4.6.16.1 Description

Updates a bootstrap credential store with given user name and password. In the event of an error, the command returns a WLSTException. Typically used in the following scenario: suppose that the domain policy and credential stores are LDAP-based, and the credentials to access the LDAP store stored in the LDAP server are changed. Then this command can be used to seed those changes into the bootstrap credential store.

4.6.16.2 Syntax

modifyBootStrapCredentialjpsConfigFile, username, password

4.6.16.3 Example

Suppose that in the LDAP store, the password of the user with distinguished name cn=orcladmin has been changed to welcome1, and that the configuration file jps-config.xml is located in the current directory. Then the following invocation changes the password in the bootstrap credential store to welcome1: wls:mydomainserverConfig modifyBootStrapCredentialjpsConfigFile=.jps-config.xml, username=cn=orcladmin, password=welcome1 Any output regarding the audit service can be disregarded.

4.6.17 addBootStrapCredential

Offline command that adds a credential to the bootstrap credential store.

4.6.17.1 Description

Adds a password credential with the given map, key, user name, and user password to the bootstrap credentials configured in the default JPS context of a JPS configuration file. In the event of an error, the command returns a WLSTException.

4.6.17.2 Syntax

addBootStrapCredentialjpsConfigFile, map, key, username, password Argument Definition jpsConfigFile Specifies the location of the file jps-config.xml relative to the location where the command is run. username Specifies the distinguished name of the user in the LDAP store. password Specifies the password of the user. 4-72 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

4.6.17.3 Example

The following invocation adds a credential to the bootstrap credential store: wls:mydomainserverConfig addBootStrapCredentialjpsConfigFile=.jps-config.xml, map=myMapName, key=myKeyName, username=myUser, password=myPassword

4.6.18 reassociateSecurityStore