commenting assumable role functionality

This commit is contained in:
Kenneth Toler
2018-09-25 16:25:07 -04:00
parent 75ea430cef
commit a07d643c44
2 changed files with 3 additions and 3 deletions

View File

@@ -457,7 +457,7 @@ def iam_list_roles():
def iam_list_roles_assumable(): def iam_list_roles_assumable():
''' '''
Lists the IAM roles that have the specified path prefix. If there are none, the operation returns an empty list Lists IAM roles that are assumable by AWS Principals and excludes roles that are assumable by Services
''' '''
print("### Roles that can be Assumed by AWS Principals ###") print("### Roles that can be Assumed by AWS Principals ###")
try: try:

View File

@@ -62,8 +62,8 @@ def module_iam_list_roles():
def module_iam_list_roles_assumable(): def module_iam_list_roles_assumable():
''' '''
Lists the IAM roles that have the specified path prefix. If there are none, the operation returns an empty list. Lists the IAM roles that have the specified path prefix that are assumable by AWS principals and excludes roles assumable by AWS services. If there are none, the operation returns an empty list.
python3 weirdAAL.py -m iam_list_roles -t yolo python3 weirdAAL.py -m iam_list_roles_assumable -t yolo
''' '''
iam_list_roles_assumable() iam_list_roles_assumable()