Skip to content

cibinmathew/sublime-aws-helper

Repository files navigation

sublime-aws-helper

AWS helper is a Sublime Text plugin to validate the IAM policy json for errors. Read more at Medium - AWS Helper: Sublime Text plugin

Demo

Features

  • AWS Helper: validate IAM policy (aws_helper_validate_iam) : selected text is validated for a valid iam policy json. Validtion is done by AWS access-analyzer ValidatePolicy API. [pricing]
  • AWS Helper: open arn in console (aws_helper_open_arn_in_console) : For supported aws services, if the selected text matches an arn, the corresponding aws console url for the same is opened in default browser.

How to Use

From Command palette, type the command, eg: AWS Helper: validate IAM policy

No default keybinding is provided. Use like below as necessary

[
    { "keys": ["ctrl+r"], "command": "aws_helper_validate_iam" }
]

How to Install

Install with Package Control

To Install AWS Helper via Package Control.

  • Search for package: AWS Helper

Manual

  • Open the Sublime Text Packages folder (see Sublime Text > Preferences > Browse Packages...)
  • Clone this repo
  • Restart Sublime Text

Setup

It is required to configure AWS with access key ID and secret to use this plugin.

Run aws configure to set up your credentials. They will be stored in ~/.aws/credentials.

TODOs

  • Submit to package control channel
  • Handle network failure from freezing

FAQ

Todo

References

References

Contributors

License

MIT License