How can we integrate with PAM to update the password in Solace RDP

Dhanusri
Dhanusri Member Posts: 17 ✭✭

We are looking for the info if Solace is capable of integrating with PAM (Privileged Access Management) to fetch & update the latest password through rest api call in Solace RDP.

If so, can you let us know the steps.

If not, can you suggest any other alternative ways to integrate with PAM.

Answers

  • rey
    rey Member, Administrator, Employee Posts: 12 admin

    Hey @Dhanusri,

    I'm intrigued by your question, but would like to get a little more information to make sure I understand what you're trying to do.

    My assumption based on your question is that you have RDP Consumers set up with HTTP Basic authentication and are looking for a way to programmatically change the password for them based on PAM. Does that make sense? If not, please clarify.

  • Dhanusri
    Dhanusri Member Posts: 17 ✭✭

    Hi @rey,

    Sorry for the delayed response :)

    yes, the assumption is correct and we would like to know if there in any API call that can be made to pull the latest password from PAM and update it in the RDP consumer.

  • Aaron
    Aaron Member, Administrator, Moderator, Employee Posts: 664 admin

    Hey @Dhanusri, yes I just figured out how to do this using SEMPv2. This is something you'll have to do via an external script/agent, as there is nothing built into the broker/RDP to do this itself.

    Using curl, this is my REST call:

    curl -u admin:admin \
      http://localhost:8080/SEMP/v2/config/msgVpns/VPN-NAME-HERE/restDeliveryPoints/RDP-NAME-HERE/restConsumers/RC-NAME-HERE \
      -X PATCH \
      -d '{ "authenticationHttpBasicUsername":"test", "authenticationHttpBasicPassword":"test" }' \
      -H content-type:application/json  | jq
    

    (the "jq" at the end is just to pretty-print the result from the broker)

    The SEMPv2 API reference can be found here: https://docs.solace.com/API-Developer-Online-Ref-Documentation/swagger-ui/software-broker/config/index.html#/restDeliveryPoint/updateMsgVpnRestDeliveryPointRestConsumer

    Hope that helps!