UNPKG

@aws-sdk/credential-provider-sso

Version:

AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials

23 lines (22 loc) 439 B
import { Profile } from "@smithy/types"; /** * @internal * * Cached SSO token retrieved from SSO login flow. */ export interface SSOToken { accessToken: string; expiresAt: string; region?: string; startUrl?: string; } /** * @internal */ export interface SsoProfile extends Profile { sso_start_url: string; sso_session?: string; sso_account_id: string; sso_region: string; sso_role_name: string; }