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
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: