Handling Passwords for Git Remote Repositories
On this page:
- Configuring the password policy
- Setting the master password
- Changing the master password
- Resetting the master password
Every time you interact with a remote Git repository, for example, during a Pull,
you are requested to specify the private
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.
CLion 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. CLion stores the history of all updates to the master password until it is reset.
Configuring the password policy
To configure the password policy
- Open the IDE Settings, then click Passwords.
- On the
page that opens, specify how you want CLion to process passwords for Git remote repositories.
Do one fo the following:
- If you do not need CLion 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.
Setting the master password
To set the master password
Changing the master password
To change the master password
Resetting the master password
To reset the master password
- 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.