-
Notifications
You must be signed in to change notification settings - Fork 177
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
okta-aws throws InvalidClientTokenId #333
Comments
based on your recommended fix with quoting it seems you have a bit older version of this project. I think your issue was fixed in #298 and released in 2.0.3. Can you make sure you install the latest again with
and let me know if you still see the issue? |
Well, somehow reinstallation fixed the issue even though I had already v2.0.3. Currently works on both 2.0.3 and latest 2.0.4. Not sure why this error just appeared. Anyway sorry for false-alarm. |
I had got into the same issue. For me, deleting the rm .okta/profiles file got it fixed. |
Describe the bug
We have discovered that starting from today for some reasons okta-aws stopped to work properly. We receive error:
while trying to execute:
okta-aws my-profile sts get-caller-identity
To Reproduce
okta-aws my-profile sts get-caller-identity
~/.okta/profile
and~/.aws/credentials
, though command is not executed properly.Also running directly jar file without
=
sign throws an error like here:while following works properly:
Issue exists only in shell (not in intellij in this case at least).
Expected behavior
okta-aws
should pass proper profile to aws cli commandAdditional context
My operating system is MacOS 10.14.6
Doesn't work both in zsh nor bash:
This seems to fix the issue, although not sure why because testing it in intellij both ways works as designed without any issue.
The text was updated successfully, but these errors were encountered: