Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pbnj opened this issue Sep 28, 2016 · 0 comments
Open

Comments

@pbnj
Copy link

pbnj commented Sep 28, 2016

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant