GetAccessToken
Source:
src/AWS/LicenseManager/GetAccessToken.ts
Runtime binding for license-manager:GetAccessToken — exchange a
long-lived refresh token (minted by CreateToken) for a temporary
access token to use with AssumeRoleWithWebIdentity. Both the refresh
token and the returned access token are Redacted end-to-end.
Provide the implementation with
Effect.provide(AWS.LicenseManager.GetAccessTokenHttp).
License Checkout Data Plane
Section titled “License Checkout Data Plane”// initconst getAccessToken = yield* AWS.LicenseManager.GetAccessToken();
// runtime — AccessToken is Redacted; unwrap only at the point of useconst { AccessToken } = yield* getAccessToken({ Token: refreshToken });