Command Reference > Environment Variables for Command Line Programs > INFA_REPOSITORY_PASSWORD
  

INFA_REPOSITORY_PASSWORD

INFA_REPOSITORY_PASSWORD environment variable applies to the infacmd command line program.
Some infacmd commands require a PowerCenter repository password. You can provide a user password as an option with infacmd, or you can store it as the environment variable INFA_REPOSITORY_PASSWORD.
Use the following steps as a guideline to use an encrypted password as an environment variable:
  1. 1. Use the command line program pmpasswd to encrypt the user password.
  2. pmpasswd generates and displays the encrypted password. For example, if you enter the password “monday,” it encrypts to f/wRb5PZsZnqESTDPeos7Q==.
  3. 2. Configure the password environment variable to set the encrypted value.

Configuring INFA_REPOSITORY_PASSWORD on UNIX

To configure INFA_REPOSITORY_PASSWORD on UNIX:
    1. At the command line, type:
    pmpasswd <password>
    pmpasswd returns the encrypted password.
    2. In a UNIX C shell environment, type:
    setenv INFA_REPOSITORY_PASSWORD <encrypted password>
    In a UNIX Bourne shell environment, type:
    INFA_REPOSITORY_PASSWORD = <encrypted password>
    export INFA_REPOSITORY_PASSWORD

Configuring INFA_REPOSITORY_PASSWORD on Windows

To configure INFA_REPOSITORY_PASSWORD on Windows:
    1. At the command line, type:
    pmpasswd <repository password>
    pmpasswd returns the encrypted password.
    2. Enter the environment variable INFA_REPOSITORY_PASSWORD, and set the value to the encrypted password.
    For information about setting environment variables on Windows, consult the Windows documentation.