@20i/aws-profile-scripts
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@20i/aws-profile-scripts", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Command line scripts for managing your AWS profile", | ||
@@ -14,3 +14,3 @@ "scripts": { | ||
], | ||
"author": "@NikkiDelRosso", | ||
"author": "@hiddenist", | ||
"license": "ISC", | ||
@@ -17,0 +17,0 @@ "packageManager": "yarn@3.2.4", |
@@ -26,2 +26,11 @@ # aws-profile-scripts | ||
TBD | ||
* Configure an mfa profile. This will contain an access key generated in IAM. | ||
``` | ||
# I'm creating a profile called my-project, so I need to add my-project-mfa | ||
aws configure --profile my-project-mfa | ||
``` | ||
* Run `aws-mfa -p my-project` | ||
* Get the serial number for your MFA device from the AWS console. It should look something like this: `arn:aws:iam::123456789123:mfa/Authenticator`. You can also pass a `-s` flag to the `aws-mfa` command to keep this handy in your terminal history. | ||
* Enter the token from your authenticator when prompted for your OTP. | ||
This should add a profile to your `~/.aws/credentials` file with a temporary token. This command does not currently create a backup file for you, so you may want to make one yourself before running it. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98381152
36