aws-adfs | Command line tool to ease aws cli authentication | Authentication library
kandi X-RAY | aws-adfs Summary
kandi X-RAY | aws-adfs Summary
Command line tool to ease aws cli authentication against ADFS (multi factor authentication with active directory)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Login to the ADFS server
- Aggregate the principal roles for the given account alias
- Authenticate against a SAML resource
- List account aliases
- Get the assertion response
- Submits a webauthn response
- Reset profile
- Clear the credentials
- List available profiles
aws-adfs Key Features
aws-adfs Examples and Code Snippets
Community Discussions
Trending Discussions on aws-adfs
QUESTION
In Linux, the following commands work just fine where we specify a username and password to the envrioment variables and have them used in aws-adfs using '--env" switch
...ANSWER
Answered 2022-Mar-28 at 15:44There is predefined on Windows the environment variable USERNAME
with all letters in upper case which holds the name of the user account, see the Wikipedia chapter Windows Environment Variables for more information about the predefined environment variables on Windows.
aws-adfs of version 2.0.1 does not require on Windows that the environment variable username
is defined with all letters in lower case. Environment variable names are case-sensitive on Linux where it is possible to define an environment variable USERNAME
and additionally also an environment variable username
.
There could be used in a Windows command prompt window:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install aws-adfs
user local installation with pipx pipx install aws-adfs
user local installation with pip pip install aws-adfs Please note, that you need to add $HOME/.local/bin to your PATH
system wide installation sudo pip install aws-adfs
virtualenvs virtualenv aws-adfs source aws-adfs/bin/activate pip install aws-adfs ... ... deactivate
Windows 10 Install latest supported Visual C++ downloads from Microsoft for Visual Studio 2015, 2017 and 2019: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads https://aka.ms/vs/16/release/vc_redist.x64.exe Install Python 3.7 from Microsoft Store: https://www.microsoft.com/en-us/p/python-37/9nj46sx7x90p Start PowerShell as Administrator Go to C:\Program Files: C: cd 'C:\Program Files\' Create virtual env: python3 -m venv aws-adfs Install aws-adfs: & 'C:\Program Files\aws-adfs\Scripts\pip' install aws-adfs Run it: & 'C:\Program Files\aws-adfs\Scripts\aws-adfs' login --adfs-host=your-adfs-hostname
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page