The IDE uses the same credential files as the CLI, so if AWS access works from the command line, it will work in the IDE as well.
INTELLIJ TOOLBOX HOW TO
If your company has an admin team that manages access to AWS, you may need to consult them on how to get command line access. You can find detailed instructions on the different methods in the AWS Toolkit User Guide’s page on connecting the AWS Toolkit to AWS accounts. There are a few ways to set up access to AWS. We’ll click Create.Ī new configuration file is created containing comments at the top describing the contents of the files and fields where we can enter our aws_access_key_id and aws_secret_access_key. Since we currently have no credential files, IntelliJ IDEA will prompt us to create a credential file. On the other hand, if your machine has no credential files and you don’t have any AWS credentials to choose from in the credentials drop-down menu, like the image shown below, click on Edit AWS Credential file(s). If that’s the case and you see a list of your AWS resources listed in the AWS Explorer window, you can skip to the next section of this tutorial. If you already have AWS CLI or other AWS tools configured on your machine, IntelliJ IDEA may detect your configuration file and automatically connect to your account. IntelliJ IDEA uses credential files to connect to an AWS account similar to the AWS Command Line Interface (CLI). Now that the AWS Toolkit plugin is installed, we need to connect the IDE to our AWS account. You can also access this window by going to View -> Tool Windows -> AWS Explorer.
INTELLIJ TOOLBOX INSTALL
Click on the Install button next to the AWS Toolkit search result.Īfter the plugin is finished installing, restart your IDE.Īfter the IDE restarts, you will see a new AWS Explorer tool window. Make sure the Marketplace tab is selected then search for AWS Toolkit. In your IntelliJ IDEA Community or Ultimate edition, install the AWS Toolkit plugin by going to your IDE Settings ( File -> Settings for Windows/Linux or IntelliJ IDEA -> Preferences for macOS) and navigating to Plugins. To configure IntelliJ IDEA to work with AWS, we need to install the AWS Toolkit for IntelliJ IDEA plugin and configure the AWS credentials required to connect our IDE to AWS. This provides an easy way for people to skim the content quickly if they prefer reading to watching, and to give the reader/watcher links to additional information. This blog post covers the same material as the video. Then, we’ll highlight a few features that are beneficial when working with AWS from your IDE. We’ll start by setting up IntelliJ IDEA to connect to AWS. In this blog, we’re going to explore how to work with Amazon Web Services (AWS) in IntelliJ IDEA.