Releases: mmmorris1975/aws-key-rotator
v1.1.1
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
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
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
Add -version
flag
Move to go-mod dependency management
1.0.0
update readme