This repository was archived by the owner on Jan 27, 2025. It is now read-only.
Commit 4cd1001
Adding commands for assumed role account switching (#19)
* Implementing a way to add new assume-role profiles
* Polishing things up, add a delete assume role profile command,
* Fixing some ordering in the command list
* Update README, CHANGELOG
* Fixing an issue with profiles containing one or more spaces
* Fix logging on successful profile switch
* Add flag to make certain clients read from the config file
* Fix some naming, making the parentProfile option a list when you're adding an assume-role-profile
* Changes to make adding an assumed role less error-prone
Take default region and output format from parent profile by default. Don't allow creation if a profile of the same name already exists
* Using more reliable method for iteration, alter root profile option
* Bump version in package.json, update date on changelog
* Fix update check
Co-authored-by: Ian Sutherland <ian@iansutherland.ca>1 parent db17e7a commit 4cd1001
File tree
8 files changed
+359
-66
lines changed- src
8 files changed
+359
-66
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments