f5-common-python icon indicating copy to clipboard operation
f5-common-python copied to clipboard

f5.bigip ManagementRoot logout feature

Open delhipnr opened this issue 6 years ago • 3 comments

i did take multiple captures and analysis on the device from user access point of view. do i really need to logout after each run with scripts through f5 sdk?

let say i put it idle, what would be the harm?

delhipnr avatar Jun 22 '19 17:06 delhipnr

I'm not sure what you are trying to say, can you clarify what the issue is, and what you are hoping for as a fix action?

jasonrahm avatar Jul 08 '19 19:07 jasonrahm

Thanks, i am looking loggoff feature in f5sdk.

Sesn = ManagementRoot (ip, uid, pwd)

Above is to login, do we also hv something like Sesn.logout() def ?

delhipnr avatar Jul 11 '19 16:07 delhipnr

There isn't a logout function with the rest interface. When you authenticate, you should get a token and that token has an expiration timer (configurable). You could create your own logout function by updating the expiration of your token when your calls are complete, effectively logging out.

jasonrahm avatar Jul 11 '19 18:07 jasonrahm