Where is the GitHub access token stored, and is there an alternative to access the settings repository?

Answered

When you want to use the settings repository, you have to supply a GitHub access token. In which file is it stored? And is there an alternative to supplying an access token that does not persist sensitive data, e.g. entering username and password for each IntelliJ session (i.e. from opening to closing IntelliJ)?

0
1 comment

The token is stored using IDE's password safe, which uses either system's native Keychain app (MacOs keychain, Gnome keyring), or KeePass DB. The location of the KeePass DB is specified in Settings | Appearance & Behavior | System Settings | Passwords.

> you have to supply a GitHub access token

A prompt appears to supply Login/Password, so you can use them instead of a token. However, using token is more secure as token has a limited access scope.

> does not persist sensitive data

No, AFAICS there is no way to disable saving it except disabling saving passwords at all. However, the token is saved securely. Moreover, you should create a token with a minimal set of scopes allowed and use it to access settings repository.

0

Please sign in to leave a comment.