description added and newline remove
This commit is contained in:
parent
0aa7714de6
commit
2806dda5f1
10
rotate-keys
10
rotate-keys
@ -1,5 +1,14 @@
|
|||||||
#!/usr/bin/env python3
|
#!/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 logging
|
||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
@ -170,7 +179,6 @@ def main():
|
|||||||
print("No new key available to update credentials file")
|
print("No new key available to update credentials file")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user