assumer icon indicating copy to clipboard operation
assumer copied to clipboard

Feature: Simplify CLI flags by supporting a pre-defined configuration file

Open pbnj opened this issue 9 years ago • 0 comments

DETAILS

Currently, as a user, I would have to assume a role with this command: assumer -a <target_account> -r <target_role> -A <control_account> -R <control_role>

But, I would like to set up a configuration file that contains my Control Plane Account, Control Plane Role, Target Plane Account, and Target Plane Role, so that I can just assume a role with a simple command.

Example

  • In .assumer.yml:
:ctrl:
  :account_number: 123456789012
  :role: prefix/security-role

:acct1:
  :account_number: 123456789000
  :role: prefix/read-only-role
  • In command-line:
$ assumer acct1

pbnj avatar Sep 28 '16 18:09 pbnj