HewlettPackard / oneview-ansible-collection

Ansible Collection and Sample Playbooks for HPE OneView
Apache License 2.0
25 stars 22 forks source link

Use of sessionID #238

Closed DungKHoang closed 1 year ago

DungKHoang commented 1 year ago

As said in the readme, one should get a sessionID from OnveView to avoid sending authentication request for each task. So once you get a sessionID, you don't need to use username/password anymore but sessionID instead. However, when I look at the examples in the Readme, it's still passing username/password along with sessionID in subsequent calls to Oneview tasks. Do we still need username/pass word if we have sessionID?

alisha-k-kalladassery commented 1 year ago

Hi You don't need to send username and password once sessionID is generated and passed. We will be changing the Readme. Thanks for the heads up.