You are here:>>>How to avoid using Weblogic credentials in WLST Scripts

How to avoid using Weblogic credentials in WLST Scripts

  • It is not advisable to use Weblogic credentials in plain-text format in WLST scripts when connecting to Admin Server using connect() statement.
  • This can be achieved securely by generating two .secure files. One to store Weblogic credentials in encrypted format and the other to tore the encryption key to decrypt.

1. Connect to WLST using interactive mode providing the username and password on the console. This is done only once to generate the secure files

Note: Make sure Weblogic Admin Server is running and the Weblogic environment is set by running $DOMAIN_HOME/bin/

2. Verify if /home/oracle/ and /home/oracle/ are created successfully

3. Once the files are created, you can use them in WLST using below syntax


About the Author:

I am a Senior Cloud Professional specialized in AWS Cloud with 11 years of IT experience. I am enthusiastic about Serverless Architecture. I am an expert in Oracle Fusion Middleware.

One Comment

  1. sarat May 26, 2016 at 3:21 AM - Reply

    Sir please tell me about the apache webserver with details

Leave A Comment