login#

async idem_vra.exec.vra.iaas.login.retrieve_auth_token(hub, ctx, refreshToken, **kwargs)[source]#
Retrieve AuthToken for local csp users Retrieve AuthToken for local csp users.

When accessing other endpoints the Bearer authentication scheme and the received token must be provided in the Authorization request header field as follows: Authorization: Bearer {token} Performs POST /iaas/api/login

Parameters:
  • refreshToken (string) – (required in body) Refresh token obtained from the UI

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about