1.0.2 • Published 10 months ago
insomnia-plugin-aws-iam-v4 v1.0.2
Insomnia AWS IAM Plugin
An Insomnia plugin to retrieve aws credentials for use with IAM authentication.
Extends previous implementation: https://github.com/dankelleher/insomnia-plugin-aws-iam
To allow for profiles
and read credentials from file, opposed to copy and pasting from ~/.aws/credentials
Now supports role_arn
, thank you @SushilShrestha, with example config:
$ cat ~/.aws/config
[profile auth]
region = us-west-2
...
[profile foobar]
role_arn = arn:aws:iam:123456:role/foo-bar
source_profile = auth
Authenticate with AWS_PROFILE=auth, and assume role within this plugin 🎉
Usage guide
- Locate the Insomnia
plugins
directory (on MacOS)
cd ~/Library/Application Support/Insomnia/plugins
- Download and Install the plugin in previous step's directory
git clone https://github.com/jeffmur/insomnia-plugin-aws-iam-v4.git
cd insomnia-plugin-aws-iam-v4
npm install
- In Insomnia toggle
Reload Plugins
via Tools -> Reload Plugins - For an API call, choose Authentication -> AWS
- In the Access Key ID, Secret Access Key, Session Token fields, start typing
awsiam
, wait for autocomplete, and choose the appropriate value for each field.