SimonJang / list-aws-profiles

List the AWS profiles that are locally available

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

list-aws-profiles

CI Format

Lists local AWS profiles

Requirements

Install

$ npm install list-aws-profiles

Usage

import listAwsProfiles from 'list-aws-profiles';

export async function listProfiles() {
	const profiles = await listAwsProfiles();

	console.log(profiles); // ["profile1", "profile2"]

	return profiles;
}

API

listAwsProfiles()

Asynchronous method that returns the local AWS profiles

About

List the AWS profiles that are locally available

License:Other


Languages

Language:TypeScript 100.0%