Skip to content
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

AWS credentials process authentication not working with plugin #25

Closed
pmenager opened this issue Feb 2, 2023 · 4 comments
Closed

AWS credentials process authentication not working with plugin #25

pmenager opened this issue Feb 2, 2023 · 4 comments

Comments

@pmenager
Copy link

pmenager commented Feb 2, 2023

Cannot connect with an AWS account with a profile using credential_process (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sourcing-external.html).
I tried the authentication type "Profile from credentials file".

@AntonShuvaev
Copy link
Owner

Hi @pmenager, what error do you get when testing connection? I've just tested it and it works fine. The only issue I had was that script file was not executable I've changed the permissions with chmod +x. Maybe you can try to do the same.

@pmenager
Copy link
Author

pmenager commented Feb 3, 2023

Hi @AntonShuvaev,

Sorry I forgot to include the exception I got when I test the connection, it's truncated:

Connection test failed: java.lang.IllegalStateException: Failed to refresh process-based credentials

If there is a file where the plugin logs exception let me know I will look at it.

@AntonShuvaev
Copy link
Owner

I found the similar issue in aws plugin aws/aws-toolkit-jetbrains#1529. Can you try to launch IDE from terminal?

@pmenager
Copy link
Author

pmenager commented Feb 6, 2023

That's the issue here, it work when launching the IDE from the CLI. Thank you for your help, I am closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants