From 2806dda5f178e7990c3004ff94ecd39efc4af432 Mon Sep 17 00:00:00 2001 From: Mark McIntyre Date: Mon, 28 Oct 2019 13:26:51 -0400 Subject: [PATCH] description added and newline remove --- rotate-keys | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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()