UNIX™ shell script for private key password

UNIX shell script sample returning a password, depending on the .pem file passed as parameter.

# UNIX password script
if [ "$1" == "Cert/MyPrivateKeyA.pem" ]
 then
  echo PasswordA
fi
if [ "$1" == "Cert/MyPrivateKeyB.pem" ]
 then
  echo PasswordB
fi