Cox-Automotive/alks-cli

[BUG] Create Role function does not support Machine Identities

Closed this issue · 1 comments

Currently the ALKS CLI "create role" method does not contain a flag for creating machine identities.

Current help for create role:

$ alks iam help createrole
ALKS v3.0.12

  Usage: alks-iam-createrole [options]

  creates a new IAM role


  Options:

    -V, --version                output the version number
    -n, --rolename [rolename]    the name of the role, alphanumeric including @+=._-
    -t, --roletype [roletype]    the role type, to see available roles: alks iam roletypes
    -d, --defaultPolicies        include default policies, default: false
    -a, --account [alksAccount]  alks account to use
    -r, --role [alksRole]        alks role to use
    -F, --favorites              filters favorite accounts
    -v, --verbose                be verbose
    -h, --help                   output usage information

This has been fixed in latest alks-cli 3.1.0 release.