Aws-toolkit-jetbrains: Support for AWS SSO

Created on 13 Nov 2019  路  6Comments  路  Source: aws/aws-toolkit-jetbrains

Is your feature request related to a problem? Please describe.

AWS CLI V2 recently added support for Single Sign-On. The feature is still in preview however it's something many AWS users have been long waiting for -- myself included. There are still some issues with the SSO process, for instance #4645, however these will soon be overcome and have workarounds.

Unfortunately, even after successful login using AWS CLI V2, it is not possible to use the SSO temporary credentials with the Jetbrains AWS Toolkit. The following error is shown in the IntelliJ UI:

Profile 'default' is not using role-based, session-based, process-based, or basic credentials.
Profile 'dev' is not using role-based, session-based, process-based, or basic credentials.
Profile 'test' is not using role-based, session-based, process-based, or basic credentials.
Profile 'prod' is not using role-based, session-based, process-based, or basic credentials.

Describe the solution you'd like

The toolkit should be enhanced to allow the use of AWS profiles using temporary AWS CLI SSO credentials, which I believe are cached under %USERPROFILE%/.aws/sso

Describe alternatives you've considered

Alternatives might also allow the SSO process to be initiated from within the IDE by selecting an existing profile which has not not yet been authenticated using the CLI. A nice feature perhaps but not critical to functionality.

Additional context

Screen Shot 2019-11-13 at 12 09 20 pm

Screen Shot 2019-11-13 at 12 10 25 pm

auth feature-request

Most helpful comment

Is there any update on this? AWS CLIv2 was released just over 2 months ago. Currently this is Blocking our transition to SSO for our dev team

All 6 comments

We are very excited about adding SSO as well. We are currently waiting for the CLI to collect feedback and adjust the design based on that feedback before we integrate with it.

Is there any update on this? AWS CLIv2 was released just over 2 months ago. Currently this is Blocking our transition to SSO for our dev team

Is there any update on this? AWS CLIv2 was released just over 2 months ago. Currently this is Blocking our transition to SSO for our dev team

Sorry, there is not. We are still discussing the APIs exposed by the SDKs so that the integration into the IDE is clean and provides the correct experience.

This has been released in version 1.18. If you encounter any issues please open a bug report

Hello @abrooksv, this has really helped with reading data in using Python so thanks. I also have Athena set up as a database within PyCharm however, to use the query console, and there is no obvious way to work with SSO here. I've still been having to manually change over temporary credentials. Is there a way to save having to do this?

@jco-08 We do not actively monitor closed issues, please create a new feature request describing your Athena use case

Was this page helpful?
0 / 5 - 0 ratings