diff --git a/rotate-keys b/rotate-keys index 4b36645..140950e 100755 --- a/rotate-keys +++ b/rotate-keys @@ -1,5 +1,14 @@ #!/usr/bin/env python3 +""" +This script will rotate the oldest AWS key and will update the .aws/credentials file. Run +mulitple times to rotate all the keys. + +Options to set the newly crated keys as the default keys in the .aws/crednetials file is +an option. +""" + + import logging import sys import argparse @@ -170,7 +179,6 @@ def main(): print("No new key available to update credentials file") - if __name__ == "__main__": main()