Technical data

WebLogic Server Administration Command Reference
Administration Guide B-21
Creating User-Configuration and Key Files
To create user-configuration and key files:
1. Use the
-username username and -password password arguments to specify
the username and password to be encrypted
.
2. Specify the name and location of the user-configuration and key files by doing
one of the following:
l Use the -userconfigfile config-file and -userkeyfile key-file
arguments:
java weblogic.Admin -username username -password password
-userconfigfile config-file -userkeyfile key-file
STOREUSERCONFIG
l Use the default behavior to create files named
user-home-directory\username-WebLogicConfig.properties and
user-home-directory\username-WebLogicKey.properties:
java weblogic.Admin -username username -password password
STOREUSERCONFIG
l Use the -Duser.home=directory and -Duser.name=username Java
options to create files named
directory\username-WebLogicConfig.properties and
directory\username-WebLogicKey.properties:
java -Duser.home=directory
-Duser.name=username
weblogic.Admin -username username -password password
STOREUSERCONFIG
You can change the name and location of a user-configuration file or a key file after
you create them, as long as you use the two files as a pair.
Using a Single Key File for Multiple User-Configuration Files
To use one key file to encrypt multiple user-configuration files:
1. Create an initial user-configuration file and key file pair.
For example, enter the following command:
java weblogic.Admin -username username -password password
-userconfigfile c:\AdminConfig -userkeyfile e:\myKeyFile
STOREUSERCONFIG