access-tokens-public

Exchange OIDC ID token for ephemeral service account access token

This endpoint creates service account's access token.

post/service-accounts/assume

Request

  • Base URL
    https://example.scalr.io/api/iacp/v3
  • URL
    https://example.scalr.io/api/iacp/v3/service-accounts/assume
  • Auth
    HTTP bearer

Request body

id-tokenstring required
lifetimeinteger
service-account-emailstring required

Response

Successfully exchanged.

access-tokenstring
expire-timestring date-time

Changes

No recorded changes to this operation across all 2 revisions of this API.