Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Releases: mmmorris1975/aws-key-rotator

v1.1.1

24 Sep 20:38
Compare
Choose a tag to compare

Put the rotation logic in its own function so that the defer'd function to remove the lockfile isn't directly under main(). Hopefully this solves some corner cases where the lockfile is left dangling during an unclean credential update.

Add a bit more debug logging so we have a better idea of what's happening

Update dependency versions

Update Makefile to reduce compiled binary size

v1.1.0

08 Jun 01:47
Compare
Choose a tag to compare

Provide a mechanism for passing credentials to the program as command line arguments or via standard input, bypassing the SDK credentials file. This will enable use cases where the credentials are not stored in the expected SDK file, but may be part of other configuration. It will return the new credentials to standard output, and it is the responsibility of the caller to update their local configuration. (Fixes #5)

Add a -force flag which allows unconditional credential rotation, for cases where it may be desirable to force credential rotation before the configured duration expires. (Fixes #6)

Update the AWS SDK to version 1.19.46

v1.0.2

04 Jun 23:08
Compare
Choose a tag to compare

Use more pessimistic locking to avoid conditions where multiple executions of this program are attempting to update expired credentials. One will work, as it is able to obtain the lock, however the other will fail with strange messages about being unable to convert strings to ints and failure opening the lock file.

v1.0.1

12 Feb 04:19
Compare
Choose a tag to compare

Add -version flag
Move to go-mod dependency management

1.0.0

22 Jan 17:00
Compare
Choose a tag to compare
update readme