Home > Enterprise >  Where AWS stores the created AWSLoadBalancerControllerIAMPolicy policy and how can I see it
Where AWS stores the created AWSLoadBalancerControllerIAMPolicy policy and how can I see it

Time:01-03

I'm studying AWS EKS and I'm following the ufficial enter image description here

CodePudding user response:

After run the command

aws iam create-policy --policy-name AWSLoadBalancerControllerIAMPolicyTest --policy-document file://iam_policy.json

you get a response like this:

{
    "Policy": {
        "PolicyName": "AWSLoadBalancerControllerIAMPolicyTest",
        "PolicyId": "ANPA2BMVX57HOOWXXXXXX",
        "Arn": "arn:aws:iam::<ACCOUNT_ID>:policy/AWSLoadBalancerControllerIAMPolicyTest",
        "Path": "/",
        "DefaultVersionId": "v1",
        "AttachmentCount": 0,
        "PermissionsBoundaryUsageCount": 0,
        "IsAttachable": true,
        "CreateDate": "2022-01-XXTXX:XX:XX 00:00",
        "UpdateDate": "2022-01-XXTXX:XX:XX 00:00"
    }
}

Make sure the account you are using when running the command is the same you are checking on the web console.

  • Related