- Manage AWS Credentials to use with AWS CLI and AWS SDKs
- Handles both Long-Term or Temporary Credentials with a single command
- Create AWS CLI profile to store the AWS credentials
- Store AWS credentials into Environment variables
- Identify details about the currently used AWS Credentials
- Get MFA authenticated credentials and configure them into a CLI profile
- List AWS CLI profiles on the machine
- Delete an AWS CLI profile
- Import IAM user's credentials downloaded from the IAM console (in CSV format) into a CLI profile
- Backup the
.aws/credentialsfile - Import
.aws/credentialsfile's backup into a new machine
For all the premium features do check out aws-creds PRO 🙌
Node.js version >= 12
# Install globally (recommended).
npm install -g @tsacademy/aws-credsaws-creds set# Return details either for credentials in env variables if present, else from the 'default' CLI profile
aws curr
# Return details for a specific CLI profile
aws curr --profile <profileName>aws-creds help
aws-creds --helpPremium Features 🚀 ( Available with aws-creds PRO )
aws-creds list-profilesaws-creds delete-profileNote: The process mentioned in the following AWS article is automated by this feature to easily get MFA authenticated credentials.
# ⭐️ Called once ⭐️ for a specific credential to configure MFA related configuration
aws-creds mfa configure# Issue and store MFA authenticated AWS credentials into an AWS CLI profile
# AWS CLI profile created with following name: ${profileName}-mfa
aws-creds mfaaws-creds importaws-creds backupaws-creds import-backup











