Every time you interact with a remote Git repository, for example, during Pull, Update, or Push operations, you are requested to specify the private ssh key or passphrase to identify yourself. You may happen to use a number of remote repositories and accordingly need to remember a number of passwords.
PhpStorm provides the ability to configure a password policy according to which passwords are either never saved, or saved during one session and cleared upon the session end, or stored in a special passwords database.
The passwords database is under protection of a master password. Once specified, the master password can be changed or reset at any time. PhpStorm stores the history of all updates to the master password until it is reset.
When you reset the master password, the history of all the previously used master passwords is removed.
On this page:
- Configuring the password policy
- Setting the master password
- Changing the master password
- Resetting the master password
- Open the IDE settings, then click Passwords.
- On the Passwords page that opens, specify how you want PhpStorm to
process passwords for Git remote repositories.
Do one fo the following:
- If you do not need PhpStorm to save passwords at all, select the Do not remember passwords option.
- To have passwords stored in the memory during a session, select the Remember passwords until closing of the application option.
- To have passwords stored in a passwords database, select the Remember on disk (protected with master password) option and specify the master password for the storage.
- Open the Reset Master Password dialog box. Do one of the following:
- In the New Password text box, type the master password to replace the current one with.
- In the Confirm Password text box, type the new master password once again to confirm your setting.