We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It'd be nice to have a --password option on the command line like the Python client has. One can echo it, ie:
--password
echo "mypassword" | java -jar onelogin-aws-cli.jar ...all the other options...
But if one has a MFA device like a Yubikey set up, the echo messes with that:
$ echo "mypassword" | java -jar onelogin-aws-cli.jar --username myusername --appid 123456 --subdomain subdomain --profile default --region ca-central-1 OneLogin AWS Assume Role Tool 18:53:25.338 [main] DEBUG com.onelogin.sdk.util.Settings - properties file onelogin.sdk.properties loaded succesfully OneLogin Username: myusername OneLogin Password: AWS App ID: 123456 Onelogin Instance Sub Domain: subdomain MFA Required Authenticate using one of these devices: ----------------------------------------------------------------------- Enter the OTP Token for Yubico YubiKey: Exception in thread "main" java.util.NoSuchElementException at java.util.Scanner.throwFor(Scanner.java:862) at java.util.Scanner.next(Scanner.java:1371) at com.onelogin.aws.assume.role.cli.OneloginAWSCLI.getSamlResponse(OneloginAWSCLI.java:390) at com.onelogin.aws.assume.role.cli.OneloginAWSCLI.main(OneloginAWSCLI.java:206)
The text was updated successfully, but these errors were encountered:
Noted
Sorry, something went wrong.
No branches or pull requests
It'd be nice to have a
--password
option on the command line like the Python client has. One can echo it, ie:But if one has a MFA device like a Yubikey set up, the echo messes with that:
The text was updated successfully, but these errors were encountered: