@cloud-copilot/iam-collect
Version:
Collect IAM information from AWS Accounts
11 lines • 608 B
TypeScript
import { AuthConfig } from '../config/config.js';
import { AwsCredentialIdentityWithMetaData } from './coreAuth.js';
/**
* Get credentials for the given account ID and auth configuration.
*
* @param accountId the AWS account ID for which to get credentials
* @param authConfig the authentication configuration to use for the account
* @returns new or cached credentials based on the provided account ID and auth configuration
*/
export declare function getCredentials(accountId: string, authConfig: AuthConfig | undefined): Promise<AwsCredentialIdentityWithMetaData>;
//# sourceMappingURL=auth.d.ts.map