VMware Cloud Community
kdmahskey
Contributor
Contributor

In vROPs can we use same credential instance for each Adapter Connection of same kind via REST APIs

From the vROPS UI it is possible to use same credentials for each Adapter Connection of same kind(obviously if the credentials are valid for the particular Adapter connection) but how can I achieve the same thing via REST APIs ? or in other way to automate this ?

By looking and spending last few days with vROPS API documentation it seems APIs don't support this.

Any suggestions would be very much appreciated.

KMahskey
Labels (3)
Reply
0 Kudos
2 Replies
KabirAli82
Expert
Expert

In order to use the API you need a vROps user with the correct permissions. That can be the same user for multiple scripts.

Have a look at the authentication part of my script:

https://www.kablog.nl/2021/10/26/again-helping-the-community/

 

I hope that helps.


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
Reply
0 Kudos
kdmahskey
Contributor
Contributor

Hi @KabirAli82 ,
Thanks for your time and comment. However I don't have any issue with the vROPs authentication that is working fine for me as well. I have an issue with the Credentials we have to pass when adding a new Adapter to the vROPs, you would get an idea of what I am saying if you try to add an adapter to vROPs either via UI or REST APIs.

KMahskey
Tags (1)
Reply
0 Kudos