Skip to content

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

Description

@pbnj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions