@mhlabs/iam-policies-cli
A CLI tool for building simple to complex IAM policies
Last updated 3 months ago by mhlabs .
ISC · Bugs · Original npm · Tarball · package.json
$ cnpm install @mhlabs/iam-policies-cli 
SYNC missed versions from official npm registry.

iam-policies-cli

CLI for generating AWS IAM policy documents based on the JSON definition used in the AWS Policy Generator.

Provide an optional SAM or CloudFormation template and it will let you reference resource ARNs using intrinsic functions for defined resources.

The mapping of CloudFormation resource type -> the intrinsic function that returns the ARN is taken from a JSON representation of this table and might not be up-to-date with the latest releases.

Installation

npm install -g @mhlabs/iam-policies-cli

Usage

Example: iam-pol -t template.yaml -f yaml

Options:
  -v, --vers                        output the current version
  -t, --template <filename>         Template file name (default: "serverless.template")
  -f, --format <JSON|YAML>          Output format (default: "JSON")
  -o, --output <console|clipboard>  Template file namePolicy output (default: "console")
  -h, --help                        output usage information

Example

Demo

Current Tags

  • 0.0.8                                ...           latest (3 months ago)

8 Versions

  • 0.0.8                                ...           3 months ago
  • 0.0.7                                ...           3 months ago
  • 0.0.6                                ...           3 months ago
  • 0.0.5                                ...           3 months ago
  • 0.0.4                                ...           3 months ago
  • 0.0.3                                ...           3 months ago
  • 0.0.2                                ...           3 months ago
  • 0.0.1                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |