UNPKG

get-sso-creds

Version:

CLI tool to retrieve or set AWS SSO credentials.

7 lines (6 loc) 559 B
import { ICredentials, ISsoConfig } from "./interfaces"; export declare function getSSOConfigs(): Promise<ISsoConfig[]>; export declare function getAccounts(ssoConfigs: ISsoConfig[], profile?: string): Promise<Map<any, any>>; export declare function getToken(ssoUrl: string, ssoConfigs: ISsoConfig[]): string; export declare function getRoles(accountId: string, accessToken: string, profile?: string): Promise<any>; export declare function getRoleCredentials(roleName: string, accountId: string, accessToken: string, profile?: string): Promise<ICredentials>;