Releases: Cox-Automotive/alks-cli
v3.20.0
v3.19.1
v3.19.0
v3.18.0
v3.17.1
Change Log Items
- Alters account JSON output to be an object indexed by accountId
Description
Moving from a 2D Array to the following:
{
"955007298069": {
"accountAlias": "awsxtimemcp",
"roles": [
{
"role": "Security",
"isIamActive": false
},
{
"role": "Admin",
"isIamActive": true
}
]
},
"085685109815": {
"accountAlias": "awsxtimemcpnp",
"roles": [
{
"role": "Security",
"isIamActive": false
}
]
}
}
v3.17.0
v3.16.0
v3.15.0
Change Log Items
- Alks developer configure no longer collects userID unless basic auth selected
Description
Adds some hints around the network username field. Also changes developer configure to only get the userid id if basic auth is selected
Rally: US1118087: ALKS CLI: Validate Network Username
v3.14.0
Description
We didn't have this work planned but I've been wanting to do this for some time now. This adds support for passing aliases anywhere that you can pass an account ID or account string. For example, before when calling alks sessions open
you could pass the -a/--account
and -r/--role
and the value of the account field could be any of these options:
- 012345678910
- 012345678910/ALKSAdmin
- 012345678910/ALKSAdmin - awstest
but now you can also pass just the alias (awstest
), so you don't have to memorize account IDs anymore. To do this I added a function that looks up account info based on whatever you passed to get the account ID, alias, and label from ALKS. This added an extra call to get all accounts that a user has via the getAlksAccounts
function, which slowed performance, so I added some very short-lived caching to that function call to speed things up since it was getting called multiple times per command
Rally # US852948: ALKS CLI - Accept alias in place of account ID
How has this been tested?
More unit tests were added to cover just about all the code that I touched, and I spent a while testing the commands manually to ensure that they still functioned correctly