commenting assumable role functionality
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user