gimme-aws-creds
gimme-aws-creds copied to clipboard
filter webauthn by authenticatorName
Handle the case where multiple webauthn keys are registered and you want to default to one. eg you may have a macbook fingerprint and a yubikey both registered in okta but prefer the yubikey on certain devices.
hey @Sector95! any chance we could get a review on this? Thanks!
Hi @bwynsm, is there a chance you take a look at this?
@pawelaugustyn @bwynsm I have rebased this pr unto the latest to fix the merge conflict. This is working for me when I have multiple authenticators on an account, I dont have to select from the list anymore.
Hey @eedgar , does the current version of #366 solve your use case?
It tackles it entirely differently, but I am hopeful that it will be even nicer for your use case.
@zelch I will take a look.
@zelch With my limited testing I have been running into issues with the 366 patch. my urllib and requests libs needed to be updated/replaced and that wasnt caught as part of the requirements.txt it seems.
I kept throwing this error until I did that File "/home/eedgar/git/tools/gimme-aws-creds/gimme_aws_creds/aws.py", line 41, in init retries = Retry(total=5, backoff_factor=1, TypeError: init() got an unexpected keyword argument 'allowed_methods'
I had one successful run, now I am seeing this error. File "/home/eedgar/.local/lib/python3.8/site-packages/requests/cookies.py", line 413, in _find_no_duplicates raise KeyError(f"name={name!r}, domain={domain!r}, path={path!r}") KeyError: "name='DT', domain=None, path=None"
It seems 366 may not be totally reliable yet.
You need to be using urllib3 1.26+ to use allowed_methods. I recommend upgrading your Requests and urllib3 versions. from a comment here. https://github.com/psf/requests/issues/5946