Skip to content

delanovictor/aws-profile-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Profile Manager

Description

Choose your default AWS profile from your list of existing profiles.

The access key and secret key of the selected profile will be set as the keys of the default profile


Requisites

Go version 1.20 or greater.

https://go.dev/doc/install


Installation

Warning

Create backup of your credentials file!

Windows:

Copy-Item "C:\Users\$Env:UserName\.aws\credentials" -Destination "C:\Users\${Env:UserName}\.aws\credentials.bak"

Linux:

cp ~/.aws/credentials ~/.aws/credentials.bak

After the backup, clone the repository and run install command:

git clone https://github.com/delanovictor/aws-profile-manager.git

cd aws-profile-manager

go install

# Linux only
export PATH=$PATH:~/go/bin/

# Suggested alias
alias awsp=aws-profile

Example

aws-profile ls

//   [profile1]
// =>[profile2]
//   [profile3]

aws-profile set profile1

// Selected [profile1]

aws-profile ls

// =>[profile1]
//   [profile2]
//   [profile3]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages