@aws-sdk/credential-provider-sso
Version:
AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials
15 lines (14 loc) • 325 B
TypeScript
import { Profile } from "@smithy/types";
export interface SSOToken {
accessToken: string;
expiresAt: string;
region?: string;
startUrl?: string;
}
export interface SsoProfile extends Profile {
sso_start_url: string;
sso_session?: string;
sso_account_id: string;
sso_region: string;
sso_role_name: string;
}