Difference between revisions of "Aws iam list-roles"

From wikieduonline
Jump to navigation Jump to search
Line 27: Line 27:
 
             "RoleName": "eksctl-YOUR_CLUSTER1-prod-nodegroup-standar-[[NodeInstanceRole]]-KOHNE2ZI0adfaDE",
 
             "RoleName": "eksctl-YOUR_CLUSTER1-prod-nodegroup-standar-[[NodeInstanceRole]]-KOHNE2ZI0adfaDE",
  
 +
<code>[[aws iam]] list-roles | grep RoleName</code>
 +
            "RoleName": "AWSReservedSSO_AdministratorAccess_xxxxx",
 +
            "RoleName": "AWSReservedSSO_ViewOnlyAccess_xxxxxx",
 +
            "RoleName": "[[AWSServiceRoleForAmazonGuardDuty]]",
 +
            "RoleName": "[[AWSServiceRoleForAmazonInspector2]]",
 +
            "RoleName": "[[AWSServiceRoleForCloudTrail]]",
 +
            "RoleName": "[[AWSServiceRoleForOrganizations]]",
 +
            "RoleName": "[[AWSServiceRoleForSecurityHub]]",
 +
            "RoleName": "[[AWSServiceRoleForSSO]]",
 +
            "RoleName": "[[AWSServiceRoleForSupport]]",
 +
            "RoleName": "[[AWSServiceRoleForTrustedAdvisor]]",
 +
            "RoleName": "[[OrganizationAccountAccessRole]]",
  
 
== Related ==
 
== Related ==

Revision as of 12:28, 9 September 2022

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/list-roles.html

aws iam list-roles
aws iam list-roles | grep Arn
aws iam list-roles | grep RoleName
aws iam list-roles --output text | grep ROLES

Examples

aws iam list-roles | grep RoleName
           "RoleName": "AWSServiceRoleForOrganizations",
           "RoleName": "AWSServiceRoleForSupport",
           "RoleName": "AWSServiceRoleForTrustedAdvisor",
           "RoleName": "OrganizationAccountAccessRole",


aws iam list-roles | grep RoleName
           "RoleName": "AWSServiceRoleForOrganizations",
           "RoleName": "AWSServiceRoleForSupport",
           "RoleName": "AWSServiceRoleForAccessAnalyzer",
           "RoleName": "OrganizationAccountAccessRole",
           "RoleName": "AWSServiceRoleForAmazonEKS",
           "RoleName": "AWSServiceRoleForAmazonEKSNodegroup",
           "RoleName": "AWSServiceRoleForAutoScaling",
           "RoleName": "AWSServiceRoleForRDS",
           "RoleName": "AWSServiceRoleForTrustedAdvisor",
           "RoleName": "eksctl-YOUR_CLUSTER1-prod-cluster-ServiceRole-EZ64N75VT335",
           "RoleName": "eksctl-YOUR_CLUSTER1-prod-nodegroup-standar-NodeInstanceRole-KOHNE2ZI0adfaDE",
aws iam list-roles | grep RoleName
           "RoleName": "AWSReservedSSO_AdministratorAccess_xxxxx",
           "RoleName": "AWSReservedSSO_ViewOnlyAccess_xxxxxx",
           "RoleName": "AWSServiceRoleForAmazonGuardDuty",
           "RoleName": "AWSServiceRoleForAmazonInspector2",
           "RoleName": "AWSServiceRoleForCloudTrail",
           "RoleName": "AWSServiceRoleForOrganizations",
           "RoleName": "AWSServiceRoleForSecurityHub",
           "RoleName": "AWSServiceRoleForSSO",
           "RoleName": "AWSServiceRoleForSupport",
           "RoleName": "AWSServiceRoleForTrustedAdvisor",
           "RoleName": "OrganizationAccountAccessRole",

Related

See also

Advertising: