-
Notifications
You must be signed in to change notification settings - Fork 30
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
Passing session token via -s argument fails #3
Comments
Can you re-run with |
Ran the same command with -vv. Output is below.
Interesting note. Running as the same user was then working using the command line arguments. I believe this is due to me running
I created a new user and ran first command here and replicated the issue. So this may be due to not having aws cli configured in the first place. |
I suspect this is an issue with AWS Consoler not knowing what region to use - as of v1.1.0, a region is required to detect what partition should be authenticated to. However, it doesn't look like there's a good base case (should default to the standard partition) - I'll have to make some changes to make it easier for folks. |
You seem to be correct. Passing the region yields a federation URL to use. Thanks for the quick fix! |
Working with changes in v1.1.0, support cases where no region is supplied. Works on NetSPI#3.
@RyanGandrud This has been included in 1.1.1. Please give v1.1.1-rc.1 a shot from the releases page, and let me know if it works for you. |
That works! Assumes standard aws region and outputs a message stating as much. |
Had the same issue. Is this project still maintained? Maybe 1.1.1 should be released officially. |
@johnsaigle I'm no longer with the organization, I'd have to check if there's someone able to merge the changes in. You can use the workaround documented above, or grab the rc1 version. |
Sounds good, thanks for the response. |
Description
Attempting to pass the access key, secret key, and session token via CLI arguments failed with the following error. Attempted wrapping arguments in quotes as well. I was able to get around this by creating a profile and using the -p argument instead.
What I Did
The text was updated successfully, but these errors were encountered: