Skip to content

Commit

Permalink
Warn when access keys are old (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimaJuma authored Jan 5, 2022
1 parent c47fbd0 commit 344d48a
Show file tree
Hide file tree
Showing 11 changed files with 443 additions and 108 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# awsx changelog

## 1.4.0 (January 4, 2022)

- Warn users when secret key X days old

## 1.3.0 (December 4, 2021)

- Build with Rollup instead of ncc
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ If you don't specify a profile name (or an assume role profile name, if applicab

### Adding a new profile

#### `awsx add-profile [profile] [access-key] [secret-key] [default-region] [output-format] [mfa-arn] [mfa-expiry]`
#### `awsx add-profile [profile] [access-key] [secret-key] [key-max-age] [default-region] [output-format] [mfa-arn] [mfa-expiry]`

> NOTE: If you don't provide inputs you will be prompted for them.
Expand Down Expand Up @@ -82,6 +82,12 @@ If you don't have MFA set up on your AWS account you can enable it by following

#### `awsx whoami` or `awsx status`

### Set access key maximum age

#### `awsx set-key-max-age [profile] [max-age]`

> NOTE: use 0 days for no maximum age
## Contributing

If you'd like to contribute to awsx we recommend that you first [open an issue](https://github.com/neofinancial/awsx/issues) to discuss your proposed change.
Expand Down
Loading

0 comments on commit 344d48a

Please sign in to comment.