You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to setup cross account authentication, I followed the documentation and added this to the description of the IAM role configured on the instance profile :
root@ip-10-104-52-43:/etc/pam.d# /usr/sbin/keymaker-get-public-keys user1
Traceback (most recent call last):
File "/usr/local/bin/keymaker", line 125, in <module>
locals()[args.command](args)
File "/usr/local/lib/python2.7/dist-packages/keymaker/__init__.py", line 133, in get_authorized_keys
resource="role/" + config["keymaker_id_resolver_iam_role"])
KeyError: u'keymaker_id_resolver_iam_role'
After a quick look to the code, it appears that the key : keymaker_id_resolver_role is not used.
I fixed the issue by updating the role description using keymaker_id_resolver_iam_role instead of keymaker_id_resolver_role.
I think the documentation should be updated to avoid any confusion.
Cheers,
Renaud Hager
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for your work :-)
I tried to setup cross account authentication, I followed the documentation and added this to the description of the IAM role configured on the instance profile :
But I got the following error :
After a quick look to the code, it appears that the key :
keymaker_id_resolver_role
is not used.I fixed the issue by updating the role description using
keymaker_id_resolver_iam_role
instead of keymaker_id_resolver_role.I think the documentation should be updated to avoid any confusion.
Cheers,
Renaud Hager
The text was updated successfully, but these errors were encountered: