consul icon indicating copy to clipboard operation
consul copied to clipboard

New auth method type aws-iam not visible on the UI

Open nomopo45 opened this issue 2 years ago • 3 comments

Hello i made a fresh install of consul (with ACLs enabled) on AWS EKS with the official helm chart.

Everything works fine, i am trying now to create a new auth method.

I did :

consul acl auth-method create -type aws-iam \
  -name iam-role-login \
  -config='{
    "BoundIAMPrincipalARNs": ["arn:aws:iam::123456789012:role/MyRoleName"],
    "EnableIAMEntityDetails": true,
    "IAMEntityTags": ["consul-namespace"],
    "ServerIDHeaderValue": "consul.mydomain.com",
    "MaxRetries": 3,
    "IAMEndpoint": "https://iam.amazonaws.com/",
    "STSEndpoint": "https://sts.us-east-1.amazonaws.com/",
    "AllowedSTSHeaderValues": ["X-Extra-Header"]
}'

And after i did a binding rules :

consul acl binding-rule create -method 'iam-role-login' \
    -description 'Binding Rule for consul-consul-client' \
    -bind-type 'role' \
    -bind-name 'consul-consul-client-acl-role' \
    -selector 'entity_name=="myRoleName"'

After that when i try to Log In via the UI i don't see the auth method that i created i just the Log in with token method, do you know how to see the new auth method from the UI so i can use it ?

Thanks a lot !

nomopo45 avatar Jul 22 '22 07:07 nomopo45

Hey @nomopo45

Thanks for reporting this. On first glance this seems to be a bug, we'll look into to this and let you know what we find.

Amier3 avatar Jul 22 '22 16:07 Amier3

Hey @Amier3

Did you have time to look into this ?

If you need some help i would be happy to try anything, my knowledge on the subject is very little sorry about this.

nomopo45 avatar Aug 01 '22 08:08 nomopo45

Any update on this ?

yrsurya avatar Jan 24 '23 03:01 yrsurya