
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
AWS CLI profile switcher with MFA support
// npm
npm install -g awsx
// yarn
yarn global add awsx
Add the following to your .bash_profile
or .bashrc
:
alias awsx="source _awsx"
Reload your profile by launching a new shell or running source ~/.bash_profile
.
// npm
npm install -g awsx
// yarn
yarn global upgrade awsx --latest
awsx
or awsx [profile]
or awsx [profile] [assume-role-profile]
If you don't specify a profile name (or an assume role profile name, if applicable) you will be prompted to choose from one of your existing profiles. If the selected profile has MFA enabled and you want to force a new MFA login use the --force-mfa
flag.
awsx add-profile [profile] [access-key] [secret-key] [default-region] [output-format] [mfa-arn] [mfa-expiry]
NOTE: If you don't provide inputs you will be prompted for them.
You can find your MFA ARN by logging into the AWS Console, clicking on your name in the menu and then clicking on "My Security Credentials". Under the "Multi-factor authentication (MFA)" section there should be an "Assigned MFA device" heading. The string below that that starts with arn:aws:iam::
is your MFA ARN.
If you don't have MFA set up on your AWS account you can enable it by following these instructions.
awsx enable-mfa [profile]
awsx disable-mfa [profile]
awsx remove-profile [profile]
awsx add-assume-role-profile [profile] [parent-profile] [role-arn] [default-region] [output-format]
awsx remove-assume-role-profile [profile]
If you'd like to contribute to awsx we recommend that you first open an issue to discuss your proposed change.
yarn
yarn start
yarn build
To clean the build directory run yarn clean
yarn test
package.json
CHANGELOG
entrynpm pack --dry-run
to see what will be publishednpm publish
1.0.0
the tag and release name would be v1.0.0
.This project was inspired by awsp
FAQs
AWS CLI profile switcher with MFA support
The npm package awsx receives a total of 7 weekly downloads. As such, awsx popularity was classified as not popular.
We found that awsx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 130 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.