IntelliJ password database for e.g. env variables in settings.xml

已回答

hi,

we want to add usernames and passwords to the IntelliJ Keepass Database and use them in e.g. the Maven settings.xml files like ${env.pass}

we had that feature in Eclipse with string substitution.

there is really rare Intellij documentation for saving passwords in the database and using them afterwards... 

thanks for help :-)

0

Hi. For database and maven repository passwords, it is possible to turn on Keepass at Settings>>Appearance & Behavior>>System Settings>>Passwords

0
Avatar
Permanently deleted user

Hi, thank you for your reply. We did this step already.

But how can we now use these vars (env.USERNAME) in e.g. an settings.xml?

<server>
      <id>id-goes-here</id>
      <username>${env.USERNAME}</username>
      <password>${env.PASSWORD}</password>
</server>

Thanks

0

Unfortunately, it is not possible at the moment, I have raised a feature request, please follow https://youtrack.jetbrains.com/issue/IDEA-223565

0

请先登录再写评论。