Main Content

polyspace-access -encrypt-password

Encrypt password you use to log into Polyspace Access

    Description

    The system command polyspace-access -encrypt-password provides an encrypted password for logging into Polyspace® Access™.

    polyspace-access -encrypt-password [output options] encrypts the password you use to log into Polyspace Access. Use the output of this command as the argument of the -encrypted-password option when you write automation scripts to interact with Polyspace Access.

    If your username or password contain non-ASCII characters, run this command from a UTF-8 encoded terminal.

    example

    Examples

    collapse all

    Polyspace Access requires login credentials. You can enter the credentials at the command-line when you execute a command, or you can generate an encrypted password to use with other login options in automation scripts.

    To encrypt your password, use the polyspace-access -encrypt-password command and enter your Polyspace Access credentials. The command uses the username and password you enter to generate an encrypted password.

    polyspace-access -encrypt-password
    login: jsmith
    password:
    CRYPTED_PASSWORD KEAGKAMJMCOPLFKPKOHOJNDJCBACFJBL
    Command Completed
    

    Store the login and encrypted password in a credentials file and restrict read and write permission on this file. Open a text editor, copy these two lines in the editor, then save the file as myCredentials.txt.

     -login jsmith
     -encrypted-password KEAGKAMJMCOPLFKPKOHOJNDJCBACFJBL

    To manage your analysis findings through automated scripts, create a variable to store the connection configuration and login credentials. Use this variable in your script, or at the command line to avoid typing your credentials when you execute a command.

    set LOGIN=-host myAccessServer -port 1234 -credentials-file myCredentials.txt
     
    polyspace-access %LOGIN% -create-project myProject

    Input Arguments

    collapse all

    Full path to command outputs.

    Path to the folder for storing temporary files generated by polyspace-access commands. The default folder path depends on your platform:

    • Windows — C:\Users\%username%\AppData\Local\Temp\ps_results_server

    • Linux — tmp/ps_results_server

    File path where you store the command output log. By default the command does not generate a log file.

    Version History

    Introduced in R2019a