Hi,
With RDM 2021.1.32.0, how shall I call the per jumphost CredentialConnectionID settings ?
I have tried $connection.Terminal.SSHGatewayCredentialConnectionID but it does not address the new style of SSHGateways.
<ArrayOfConnection>
<Connection>
<ConnectionType>SSHShell</ConnectionType>
<Terminal>
<SSHGateways>
<SSHGateway>
----> <CredentialConnectionID>3a917cda-deec-4c77-8174-99288fcf1603</CredentialConnectionID>
<CredentialSource>CredentialRepository</CredentialSource>
<Host>sv00567</Host>
<ID>b4a9e356-aa48-445e-8439-d869f8d2e8f7</ID>
</SSHGateway>
</SSHGateways>
</Terminal>
<TerminalMac />
</Connection>
</ArrayOfConnection>
Thanks in advance for your help,
Christophe
Hello,
As the SSHGateways are stored in an array, you would have access to the information with the following command as per this screen capture.$connection.Terminal.SSHGateways[0].CredentialConnectionID
Let me know if that helps.
Best regards,
Érica Poirier
Hi Erica,
Yes, it works.
Thanks a lot,
Christophe
Hi Christophe,
Thank you for your feedback and glad that it helped!
Best regards,
Érica Poirier