UNPKG

@aws-sdk/credential-provider-sso

Version:

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

7 lines (6 loc) 281 B
export const isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string");