Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit 344d48a

Browse files
authored
Warn when access keys are old (#40)
1 parent c47fbd0 commit 344d48a

File tree

11 files changed

+443
-108
lines changed

11 files changed

+443
-108
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# awsx changelog
22

3+
## 1.4.0 (January 4, 2022)
4+
5+
- Warn users when secret key X days old
6+
37
## 1.3.0 (December 4, 2021)
48

59
- Build with Rollup instead of ncc

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If you don't specify a profile name (or an assume role profile name, if applicab
4444

4545
### Adding a new profile
4646

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

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

8383
#### `awsx whoami` or `awsx status`
8484

85+
### Set access key maximum age
86+
87+
#### `awsx set-key-max-age [profile] [max-age]`
88+
89+
> NOTE: use 0 days for no maximum age
90+
8591
## Contributing
8692

8793
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.

0 commit comments

Comments
 (0)