Forum Discussion

ramaG's avatar
ramaG
Contributor
3 years ago
Solved

How to get project password for an encrypted project when we run project from Commandline

How to get project password for an encrypted project when we run project from Commandline?

Currently when we run the command from the command line , we must mention the project password in clear text. Commanline command is not taking masked project password to decrypt the project.

Property expansion didn't work in the command line command. are there any options to call the password from system environment variables in to command line?

 

Did anyone try running the encrypted project from command line? 

 

Appreciate any help!

Thanks

 

  • Hi ramaG ! I found your support case, here's what the support team replied - I am posting this so other community members would be able to find the solution. The idea is as follows: to pass the encrypted project password, you need to create an environment variable. You will be able to use it on project launch with the -x - parameter. 

    Also, you can share a bat/bash script, inside of which you can change the value of the environment variable so that this variable won't stay idle in the system.

2 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    I saw many similar questions from you in this regards.
    You may get in touch with customer support team, they should be able to guide you quickly.
    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      Hi ramaG ! I found your support case, here's what the support team replied - I am posting this so other community members would be able to find the solution. The idea is as follows: to pass the encrypted project password, you need to create an environment variable. You will be able to use it on project launch with the -x - parameter. 

      Also, you can share a bat/bash script, inside of which you can change the value of the environment variable so that this variable won't stay idle in the system.