It's all about the answers!

Ask a question

Can I use an SSH key to log into SWM using the Java API?


Daniel FitzGerald (11) | asked Nov 08 '22, 4:35 p.m.

I am working on an application that uses the EWM Java API.  The examples that I have on using the API all log in using an encrypted password stored in file.  Is there a way to authenticate using an SSH key instead?


Comments
Ian Barnard commented Nov 09 '22, 3:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

What's the difference between using an encrypted password and an SSH Key? Both would be stored somewhere such as a file, or somewhere else like a database. You should certainly use a distinct user ID (i.e. not your user id, therefore not your password) which you can give/remove specific permissions.

One answer



permanent link
Ralph Schoon (63.1k33646) | answered Nov 09 '22, 2:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Nov 09 '22, 2:54 a.m.

I have always used a user ID for automation. 


Using an API or SSH Key: Not that I would be aware of. Usually the authentication is delegated to an authentication provider or LDAP system. I would expect you would need to configure this to provide access, but I do not know how you need to configure these systems.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.