Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails creating new profile on Windows #429

Open
oskotsky opened this issue Feb 21, 2024 · 0 comments
Open

fails creating new profile on Windows #429

oskotsky opened this issue Feb 21, 2024 · 0 comments

Comments

@oskotsky
Copy link

oskotsky commented Feb 21, 2024

In Windows 10 aws-adfs fails to create a brand-new profile:
(myvenv) PS C:\Users\user\Desktop\myvenv> aws-adfs reset --profile=profile-name
Profile: 'profile-name' has been wiped out
(myvenv) PS C:\Users\user\Desktop\myvenv> aws-adfs login --adfs-host=adfs.domain --profile=profile-name --no-sspi --region=us-west-2 --session-duration 28800 --role-arn arn:aws:iam::0123456789123:role/user-role

  •               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    File "C:\Users\user\Desktop\myvenv\Lib\site-packages\botocore\session.py", line 422, in get_scoped_config
    raise ProfileNotFound(profile=profile_name)
    botocore.exceptions.ProfileNotFound: The config profile (profile-name) could not be found
    (myvenv) PS C:\Users\user\Desktop\myvenv>

The same works as expected in Linux:
(.venv) $ aws-adfs reset --profile=profile-name
Profile: 'profile-name' has been wiped out
(.venv) $ aws-adfs login --adfs-host=adfs.domain --profile=profile-name --region=us-west-2 --session-duration 28800 --role-arn arn:aws:iam::0123456789123:role/user-role
2024-02-21 10:53:05,235 [authenticator authenticator.py:authenticate] [3281-MainProcess] [140107912224768-MainThread] - ERROR: Cannot extract saml assertion from request's response. Re-authentication needed?
Username:

Please advise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant