Skip to main content
12 events
when toggle format what by license comment
Sep 21, 2023 at 13:11 vote accept Gerald Schneider
Sep 16, 2022 at 5:29 comment added Gerald Schneider Sadly, the expiry time is not documented in the API documentation. In the vSphere vCenter configuration I can see a configured session timeout with a value of 120 minutes, but there is no indication if this value is used only for interactive sessions of the web UI or for all sessions. I presume it's the latter, but there is no way to be sure.
Sep 15, 2022 at 20:31 answer added Kate timeline score: 3
Sep 15, 2022 at 14:59 comment added Reinderien Unfortunate: it doesn't tell you when the token expires. Is the token expiry duration documented?
Sep 15, 2022 at 13:32 comment added Gerald Schneider @Reinderien I added the response including headers.
Sep 15, 2022 at 13:30 history edited Gerald Schneider CC BY-SA 4.0
added API response as requested
Sep 15, 2022 at 13:12 comment added Reinderien Please include in your question a header dump from the response of the auth endpoint. It might be possible to simplify this.
Sep 15, 2022 at 12:44 comment added Gerald Schneider I'm caching the authentication token. The check runs every minute for every single host, there is no need to authenticate every time, just when the token is expired or isn't there yet.
Sep 15, 2022 at 12:15 comment added Reinderien I'm confused. If you have hard-coded credentials, why would you bother to send a first unauthenticated request? Why not just authenticate immediately?
Sep 15, 2022 at 10:22 comment added Reinderien I sure hope that password isn't valuable
Sep 15, 2022 at 8:49 history edited Gerald Schneider CC BY-SA 4.0
added a missing condition
Sep 15, 2022 at 7:21 history asked Gerald Schneider CC BY-SA 4.0